remove unnecessary parameter-checks as they will never happen; make Customers.update callable for customers
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -61,7 +61,7 @@ function standard_error($errors = '', $replacer = '', $throw_exception = false)
|
||||
}
|
||||
|
||||
if ($throw_exception) {
|
||||
throw new Exception($error, 400);
|
||||
throw new Exception(strip_tags($error), 400);
|
||||
}
|
||||
eval("echo \"" . getTemplate('misc/error', '1') . "\";");
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user