diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php
index 22d215335f73b1c18246e9fe7dcac6cf3f44ae98..38c87be5212b331a9fd2f2aae27d428d8cfc1048 100644
--- a/core/trunk/core/class/class_functions.php
+++ b/core/trunk/core/class/class_functions.php
@@ -252,7 +252,7 @@ class functions
                     else
                     {
                         $this->add_error($msg_error, _WRONG_FORMAT);
-                        $this->add_error(_ONLY_ALPHABETIC);
+                        $this->add_error(_ONLY_ALPHABETIC, '');
                         return "";
                     }
 
@@ -264,7 +264,7 @@ class functions
                     else
                     {
                         $this->add_error($msg_error,_WRONG_FORMAT);
-                        $this->add_error(_ONLY_ALPHANUM);
+                        $this->add_error(_ONLY_ALPHANUM,  '');
                         return "";
                     }