fix #8131 - chinese translations
[Pman.Core] / UpdateDatabase.php
index f7ac303..6973f56 100644 (file)
@@ -154,15 +154,14 @@ class Pman_Core_UpdateDatabase extends Pman
             'active' => 1,
             'description' => '9.1 Management System Password Reset',
             'template_dir' => '/Pman/Core/templates/mail/'
-
-            
         )
     );
     
     var $required_extensions = array(
         'curl',
         'gd',
-        'mstring'
+        'mbstring'
     );
     
     function getAuth() {
@@ -177,7 +176,7 @@ class Pman_Core_UpdateDatabase extends Pman
         parent::getAuth(); // load company!
         $au = $this->getAuthUser();
         if (!$au || $au->company()->comptype != 'OWNER') {
-            $this->jerr("Not authenticated", array('authFailure' => true));
+            $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         $this->authUser = $au;
         return true;