Commit 02a53f781da8d6294b05e6459d64de3c8531dfa8
1 parent
a58e43e4
Correct the signedness on the "empty only" option to
rebuildPermissionLookups. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5182 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/permissions/permissionutil.inc.php
| ... | ... | @@ -543,7 +543,7 @@ class KTPermissionUtil { |
| 543 | 543 | |
| 544 | 544 | // {{{ rebuildPermissionLookups |
| 545 | 545 | function rebuildPermissionLookups($bEmptyOnly = false) { |
| 546 | - if (empty($bEmptyOnly)) { | |
| 546 | + if ($bEmptyOnly) { | |
| 547 | 547 | $sTable = KTUtil::getTableName('folders'); |
| 548 | 548 | $sQuery = sprintf("SELECT id FROM %s WHERE permission_lookup_id IS NULL AND permission_object_id IS NOT NULL", $sTable); |
| 549 | 549 | } else { | ... | ... |