head 1.2; access; symbols pkgsrc-2022Q3:1.1.0.2 pkgsrc-2022Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2022.10.19.14.01.06; author hauke; state dead; branches; next 1.1; commitid aRnxlnwnMLO3NkYD; 1.1 date 2022.09.15.12.59.16; author hauke; state Exp; branches; next ; commitid pruUU08TZj6sxXTD; desc @@ 1.2 log @Update www/davical to 1.1.11 From https://wiki.davical.org/index.php?title=Release_Notes/1.1.11: === Bug Fixes === * Tasks show up in Free/Busy (#257) * php compatibility: Creating principal fails on 8.1 (#271) * PHP 8 deprecations: htmlspecialchars in always.php (#266) * PHP 8: "Exception [0] array_flip(): Argument #1 ($array) must be of type array, null given" at principal-edit.php (#260) * Exception in inc/iSchedule.php, Argument #1 must be of type Countable|array (#252) * Users with passwords containing a quotation mark cannot login (#259) * Create new users, impossible... (#250) * Wrong FreeBusy duration when the DTSTART of the event is the same as the DTEND (#247) * Remove deprecated get_magic_quotes* function call from setup.php (234) * "Login failure" when password contains HTML special characters (#229) === Other Changes === * Changes to Gitlab CI, unit and regression tests @ text @$NetBSD: patch-inc_ui_principal-edit.php,v 1.1 2022/09/15 12:59:16 hauke Exp $ PHP 8.1 mandates globals be declared. Fixes --- inc/ui/principal-edit.php.orig 2021-03-01 13:24:48.000000000 +0000 +++ inc/ui/principal-edit.php @@@@ -180,6 +180,7 @@@@ function handle_subaction( $subaction ) function principal_editor() { global $c, $id, $can_write_principal, $session; + global $privilege_names; $editor = new Editor(translate('Principal'), 'dav_principal'); $editor->SetLookup( 'date_format_type', "SELECT 'E', 'European' UNION SELECT 'U', 'US Format' UNION SELECT 'I', 'ISO Format'" ); @ 1.1 log @Newer PHP versions (8.1 here) want global variables imported to functions explicitly. The patch fixes . @ text @d1 1 a1 1 $NetBSD$ @