Changeset 280 for trunk/lib/ACL.inc.php


Ignore:
Timestamp:
Sep 11, 2007 5:34:48 AM (17 years ago)
Author:
quinn
Message:

Minor logging text change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ACL.inc.php

    r247 r280  
    515515        $qid = $db->query("SELECT aro_tbl.aro_id FROM aro_tbl WHERE aro_tbl.name = '" . $db->escapeString($aro) . "'");
    516516        if (!list($aro_id) = mysql_fetch_row($qid)) {
    517             $app->logMsg(sprintf('Grant failed, aro_tbl.name %s does not exist.', $aro), LOG_WARNING, __FILE__, __LINE__);
     517            $app->logMsg(sprintf('Grant failed, aro_tbl.name = "%s" does not exist.', $aro), LOG_WARNING, __FILE__, __LINE__);
    518518            return false;
    519519        }
    520520        $qid = $db->query("SELECT aco_tbl.aco_id FROM aco_tbl WHERE aco_tbl.name = '" . $db->escapeString($aco) . "'");
    521521        if (!list($aco_id) = mysql_fetch_row($qid)) {
    522             $app->logMsg(sprintf('Grant failed, aco_tbl.name %s does not exist.', $aco), LOG_WARNING, __FILE__, __LINE__);
     522            $app->logMsg(sprintf('Grant failed, aco_tbl.name = "%s" does not exist.', $aco), LOG_WARNING, __FILE__, __LINE__);
    523523            return false;
    524524        }
    525525        $qid = $db->query("SELECT axo_tbl.axo_id FROM axo_tbl WHERE axo_tbl.name = '" . $db->escapeString($axo) . "'");
    526526        if (!list($axo_id) = mysql_fetch_row($qid)) {
    527             $app->logMsg(sprintf('Grant failed, axo_tbl.name %s does not exist.', $axo), LOG_WARNING, __FILE__, __LINE__);
     527            $app->logMsg(sprintf('Grant failed, axo_tbl.name = "%s" does not exist.', $axo), LOG_WARNING, __FILE__, __LINE__);
    528528            return false;
    529529        }
Note: See TracChangeset for help on using the changeset viewer.