From 19e0226ba5dd2d1da430ab6a072300394f0e7fc4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 4 Dec 2006 14:02:40 +0000 Subject: [PATCH] php5.2 fix from trunk, fixing bug #106: PHP 5.2.0 - Project Manager Fatal Error --- etemplate/inc/class.uietemplate.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 3fd1220fec..7f820a406c 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -732,6 +732,8 @@ */ function form_name($cname,$name) { + if(is_object($name)) return ''; + $name_parts = explode('[',str_replace(']','',$name)); if (!empty($cname)) {