diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index 09d8d30e5d..5177275fc7 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -1438,6 +1438,9 @@ function try_lang($key,$vars=null) */ function __autoload($class) { + // fixing warnings generated by php 5.3.8 is_a($obj) trying to autoload huge strings + if (strlen($class) > 40) return; + $components = explode('_',$class); $app = array_shift($components); // classes using the new naming schema app_class_name, eg. admin_cmd