mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
disable initial namespace/cname, as we probably wont use it and it gives a fatal error currently
This commit is contained in:
parent
fae753a551
commit
146c8fbc80
@ -245,9 +245,9 @@ class etemplate_new
|
||||
* @param string $cname=null name-prefix, which need to be ignored, default self::$name_vars
|
||||
* @return boolean true if there are not ignored validation errors, false otherwise
|
||||
*/
|
||||
public static function validation_errors($ignore_validation='',$cname=null)
|
||||
public static function validation_errors($ignore_validation='',$cname='')
|
||||
{
|
||||
if (is_null($cname)) $cname = self::$name_vars;
|
||||
// if (is_null($cname)) $cname = self::$name_vars;
|
||||
//echo "<p>uietemplate::validation_errors('$ignore_validation','$cname') validation_error="; _debug_array(self::$validation_errors);
|
||||
if (!$ignore_validation) return count(self::$validation_errors) > 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user