fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration

This commit is contained in:
Ralf Becker 2012-07-31 09:56:25 +00:00
parent e01e69d153
commit b0267b6744

View File

@ -704,8 +704,8 @@ class egw_link extends solink
}
else
{
// Fall back to original method
$result = ExecMethod2($method,$pattern,$options);
// if there is no object or no method, give a more explaining error message
throw new egw_exception_assertion_failed("Object has no method '$reg[query]'!");
}
if (!isset($options['total']))