forked from extern/egroupware
php5.2 fix from trunk, fixing bug #106: PHP 5.2.0 - Project Manager Fatal Error
This commit is contained in:
parent
a52c23c0dc
commit
19e0226ba5
@ -732,6 +732,8 @@
|
|||||||
*/
|
*/
|
||||||
function form_name($cname,$name)
|
function form_name($cname,$name)
|
||||||
{
|
{
|
||||||
|
if(is_object($name)) return '';
|
||||||
|
|
||||||
$name_parts = explode('[',str_replace(']','',$name));
|
$name_parts = explode('[',str_replace(']','',$name));
|
||||||
if (!empty($cname))
|
if (!empty($cname))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user