bug-827 added behavior of deleted accounts
authordirk <beliebige_email_adresse@fidocon.de>
Mon, 19 Sep 2011 22:42:04 +0000 (00:42 +0200)
committerdirk <beliebige_email_adresse@fidocon.de>
Mon, 19 Sep 2011 22:42:04 +0000 (00:42 +0200)
includes/wot.inc.php

index 657fde9..2f12c01 100644 (file)
        {
                $name = trim($name);
                if($name == "")
-                       $name = _("Deleted before Verification");
+               {
+                       if ($userid == 0)
+                               $name = _("System");
+                       else
+                               $name = _("Deleted account");
+               }
                else
                        $name = "<a href='wot.php?id=9&amp;userid=".intval($userid)."'>$name</a>";
                return $name;