diff -Naur kolab-webadmin-2.0.99-cvs20061121.old/php/admin/include/form.class.php kolab-webadmin-2.0.99-cvs20061121/php/admin/include/form.class.php --- kolab-webadmin-2.0.99-cvs20061121.old/php/admin/include/form.class.php 2006-12-31 00:45:08.000000000 +0100 +++ kolab-webadmin-2.0.99-cvs20061121/php/admin/include/form.class.php 2006-12-31 00:48:15.000000000 +0100 @@ -44,7 +44,13 @@ if( !isset( $value['attrs'] ) ) $this->entries[$key]['attrs'] = ''; } } - + + # add a __toString method otherwise kolab will not work + # with php-5.2 properly + function __toString() { + return sprintf("Debuginformation for class: %s; name: %s; template: %s;", get_class($this), $this->name, $this->template); + } + function outputForm() { $str = '
'; /*