mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Sending "... is no valid method" error now as validation error, instead just echoing it
This commit is contained in:
parent
7645b3f0c5
commit
ebf6ab3262
@ -92,8 +92,7 @@
|
|||||||
$obj = CreateObject($app.'.'.$class);
|
$obj = CreateObject($app.'.'.$class);
|
||||||
if (!is_object($obj) || !method_exists($obj,$method))
|
if (!is_object($obj) || !method_exists($obj,$method))
|
||||||
{
|
{
|
||||||
echo "<p>nextmatch_widget::pre_process($name): '$value[get_rows]' is no valid method !!!</p>\n";
|
$GLOBALS['phpgw_info']['etemplate']['validation_errors'][$name] = "nextmatch_widget::pre_process($cell[name]): '$value[get_rows]' is no valid method !!!";
|
||||||
//return;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user