summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-02-08 12:46:35 +0100
committerandi <andi@splitbrain.org>2005-02-08 12:46:35 +0100
commitcc20ad515f19b48e65d1ccbd3d5f0056276a2816 (patch)
tree176edde57d3b3ea4fe532588715e39163d20a7ee
parent966ac031cdb81261df09042e65b6a13f280093e4 (diff)
downloadrpg-cc20ad515f19b48e65d1ccbd3d5f0056276a2816.tar.gz
rpg-cc20ad515f19b48e65d1ccbd3d5f0056276a2816.tar.bz2
bugfix for msg() (#124)
darcs-hash:20050208114635-9977f-ff00e04a36857cf338b6695313d14b2943000a7d.gz
-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{