diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-04 00:27:59 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-04 00:27:59 +0200 |
commit | 452c23140ea93ce301e7fafdc37d28009bd6f613 (patch) | |
tree | 96a4148e4cf7484c4972c48f788ba62e5acbeaa0 /pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch | |
parent | eb14b9763b48f7fad798087e9b9af776b3182a00 (diff) | |
download | Nix-452c23140ea93ce301e7fafdc37d28009bd6f613.tar.gz Nix-452c23140ea93ce301e7fafdc37d28009bd6f613.tar.zst Nix-452c23140ea93ce301e7fafdc37d28009bd6f613.zip |
Move dav packages to pkgs
Diffstat (limited to 'pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch')
-rw-r--r-- | pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch b/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch new file mode 100644 index 0000000..2a08a5c --- /dev/null +++ b/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | diff --git a/inc/ui/collection-edit.php b/inc/ui/collection-edit.php | ||
2 | index 3af9edd3b8c4ad9074113273175098841af6a28e..8c1d84012b035f7bc7faedcb24916581a02a5d3e 100644 | ||
3 | --- a/inc/ui/collection-edit.php | ||
4 | +++ b/inc/ui/collection-edit.php | ||
5 | @@ -190,7 +190,7 @@ $privilege_xlate = array( | ||
6 | * @param dbrow $row The row object we read from the database. | ||
7 | * @return string The formatted privileges. | ||
8 | */ | ||
9 | -function collection_privilege_format_function( $value, $column, $row ) { | ||
10 | +function collection_privilege_format_function( $value, $column = NULL, $row = NULL ) { | ||
11 | global $privilege_xlate; | ||
12 | |||
13 | $privs = bits_to_privilege($value, 'calendar'); | ||
14 | diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php | ||
15 | index 20dee7fa4ca2235ff2f74be0dfb52cbe937ef822..2e37cd596b597bcce1e59d7c02a1c5fc2a7f88ce 100644 | ||
16 | --- a/inc/ui/principal-edit.php | ||
17 | +++ b/inc/ui/principal-edit.php | ||
18 | @@ -454,7 +454,7 @@ EOTEMPLATE; | ||
19 | * @param dbrow $row The row object we read from the database. | ||
20 | * @return string The formatted privileges. | ||
21 | */ | ||
22 | -function principal_privilege_format_function( $value, $column, $row ) { | ||
23 | +function principal_privilege_format_function( $value, $column = NULL, $row = NULL ) { | ||
24 | global $privilege_xlate; | ||
25 | |||
26 | $privs = bits_to_privilege($value,'*'); | ||