Skip to content

Commit

Permalink
remove last use of error_paremeters
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Jul 30, 2011
1 parent 2d95089 commit 0160cff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion core/category_api.php
Expand Up @@ -148,7 +148,6 @@ function category_add( $p_project_id, $p_name ) {
*/
function category_update( $p_category_id, $p_name, $p_assigned_to ) {
if( is_blank( $p_name ) ) {
error_parameters( );
throw new MantisBT\Exception\Empty_Field( lang_get( 'category' ) );
}

Expand Down
2 changes: 1 addition & 1 deletion core/print_api.php
Expand Up @@ -95,7 +95,7 @@
# @param boolean apply string_sanitize_url to passed url
# @return boolean
function print_header_redirect( $p_url, $p_die = true, $p_sanitize = false, $p_absolute = false ) {
if( error_handled() ) {
if( MantisError::error_handled() ) {
return false;
}

Expand Down

0 comments on commit 0160cff

Please sign in to comment.