Additional access control related ui helpers added: check_edit_access, access_post...
[fa-stable.git] / includes / ui / ui_msgs.inc
index 5c28c8939ba5d65ef3a25f3e89fd182b8e6efaea..c29a1579ebb7fb3da1ee552284971c9fa2884d18 100644 (file)
 ***********************************************************************/
 function display_error($msg, $center=true)
 {
-       global $go_debug;
-
-       $bt = $go_debug>1 ? ('<hr>'.get_backtrace(true)) : '';
-       trigger_error($msg.$bt, E_USER_ERROR);
+       trigger_error($msg, E_USER_ERROR);
 }
 
 function display_notification($msg, $center=true)
@@ -67,4 +64,3 @@ function stock_item_heading($stock_id)
        }
 }
 
-?>
\ No newline at end of file