mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
One final nail in PgQuery's coffin.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
7cec81592d
commit
5e4f574818
@ -368,7 +368,7 @@ if ( $editor->Available() ) {
|
||||
$_POST['by_collection'] = $id;
|
||||
$to_principal = intval($_POST['to_principal']);
|
||||
$orig_to_id = intval($_POST['orig_to_id']);
|
||||
$grantrow->SetWhere( "by_collection=".qpg($id)." AND to_principal=$orig_to_id");
|
||||
$grantrow->SetWhere( "by_collection=".$id." AND to_principal=$orig_to_id");
|
||||
if ( isset($_POST['grant_privileges']) ) {
|
||||
$privilege_bitpos = array_flip($privilege_names);
|
||||
$priv_names = array_keys($_POST['grant_privileges']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user