Fixes variable use.
authorStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:28:54 +0000 (15:28 +0100)
committerStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:28:54 +0000 (15:28 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/pluser.php

index 5765655..d0e7e64 100644 (file)
@@ -426,7 +426,7 @@ abstract class PlUser implements PlUserInterface
     public static function makeHrid($firstname, $lastname, $category)
     {
         $cat = self::stripBadChars($category);
-        if (!cat) {
+        if (!$cat) {
             Platal::page()->kill("$category is not a suitable category.");
         }