summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index df84496ac..e1ccb94b5 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -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{