bug #70 - error messages on group deletion, warning cleanup
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
|
||||
goaway($a->get_baseurl());
|
||||
}
|
||||
|
||||
if(x($_SESSION['visitor_id']) && (! x($_SESSION['uid']))) {
|
||||
if(x($_SESSION,'visitor_id') && (! x($_SESSION,'uid'))) {
|
||||
$r = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
|
||||
intval($_SESSION['visitor_id'])
|
||||
);
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
#$s = str_replace(array("\n","\r"),array("§n§","§r§"),$s);
|
||||
$s = $this->_build_nodes($s);
|
||||
$s = preg_replace_callback('/\|\|([0-9]+)\|\|/', array($this, "_replcb_node"), $s);
|
||||
$s = str_replace($this->search,$this->replace,$s);
|
||||
$s = str_replace($this->search,$this->replace, (string) $s);
|
||||
|
||||
return $s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user