Rename errorpage() to util_show_error_page() and move util_show_error_page() into include/util.php
This commit is contained in:
@@ -22,7 +22,7 @@ if ($aClean['sub'])
|
||||
$oVersion = new Version($oTest->iVersionId);
|
||||
if(!($_SESSION['current']->hasAppVersionModifyPermission($oVersion)))
|
||||
{
|
||||
errorpage("Insufficient privileges.");
|
||||
util_show_error_page("Insufficient privileges.");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user