Fix constant.
authorJan Schneider <jan@horde.org>
Mon, 3 May 2010 18:30:06 +0000 (20:30 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 May 2010 21:50:51 +0000 (23:50 +0200)
wicked/lib/Page/StandardPage.php

index 349e2e0..aa5185a 100644 (file)
@@ -141,7 +141,7 @@ class StandardPage extends Page {
             if (Horde_Auth::isAdmin()) {
                 return true;
             }
-            if (($this->getPermissions() & PERMS_EDIT) == 0) {
+            if (($this->getPermissions() & Horde_Perms::EDIT) == 0) {
                 return false;
             }
             break;