X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/56c841014682b373b486d3627ce1ea1f37403ff1..24c77b7b310aefcb3c1b1ce4d02099e6f0cbfe84:/lib/utils.inc.php diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 197b26f..5832d29 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -322,7 +322,8 @@ class Utils { if ($this->isAdmin() || $this->getUser() == $recipient) { $authorized = true; } - $this->log("authorize '".$this->getUser()."' rcpt '$recipient'", 3); + $msg = ($authorized) ? 'authorize' : 'not authorize'; + $this->log("$msg '".$this->getUser()."' rcpt '$recipient'", 3); return $authorized; }