add empty arg

This commit is contained in:
redmatrix 2015-12-09 11:51:31 -08:00
parent 0f4ceedbb4
commit 200eabe052
2 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ class Auth {
if(strstr($this->desturl,z_root() . '/rmagic'))
goaway(z_root());
$this->reply_die();
$this->reply_die('');
}
@ -259,7 +259,7 @@ class Auth {
}
function reply_die($msg,$goaway = true) {
function reply_die($msg) {
if($msg) {
if(array_key_exists('message',$this->ret))
$this->ret['message'] .= $msg;
@ -268,8 +268,8 @@ class Auth {
}
if($this->test)
json_return_and_die($this->ret);
if($goaway)
goaway($this->desturl);
goaway($this->desturl);
}
}

View File

@ -1 +1 @@
2015-12-08.1240
2015-12-09.1241