Skip to content
Snippets Groups Projects
Commit cc20ad51 authored by andi's avatar andi
Browse files

bugfix for msg() (#124)

darcs-hash:20050208114635-9977f-ff00e04a36857cf338b6695313d14b2943000a7d.gz
parent 966ac031
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ function msg($message,$lvl=0){
$errors[0] = 'info';
$errors[1] = 'success';
if(!headers_sent){
if(!headers_sent()){
if(!isset($MSG)) $MSG = array();
$MSG[]=array('lvl' => $errors[$lvl], 'msg' => $message);
}else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment