TableEditor: don't use REPLACE to update the content of a row.
[platal.git] / classes / platal.php
index 06be26d..90f2df3 100644 (file)
@@ -72,7 +72,7 @@ abstract class PlHook
             }
         }
         if (!$this->checkPerms()) {
-            if (!Platal::notAllowed()) {
+            if (Platal::notAllowed()) {
                 return PL_FORBIDDEN;
             }
         }