Sending "... is no valid method" error now as validation error, instead just echoing it

This commit is contained in:
Ralf Becker 2005-02-08 17:46:34 +00:00
parent 7645b3f0c5
commit ebf6ab3262

View File

@ -92,8 +92,7 @@
$obj = CreateObject($app.'.'.$class);
if (!is_object($obj) || !method_exists($obj,$method))
{
echo "<p>nextmatch_widget::pre_process($name): '$value[get_rows]' is no valid method !!!</p>\n";
//return;
$GLOBALS['phpgw_info']['etemplate']['validation_errors'][$name] = "nextmatch_widget::pre_process($cell[name]): '$value[get_rows]' is no valid method !!!";
}
else
{