Changeset 280 for trunk/lib/ACL.inc.php
- Timestamp:
- Sep 11, 2007 5:34:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/ACL.inc.php
r247 r280 515 515 $qid = $db->query("SELECT aro_tbl.aro_id FROM aro_tbl WHERE aro_tbl.name = '" . $db->escapeString($aro) . "'"); 516 516 if (!list($aro_id) = mysql_fetch_row($qid)) { 517 $app->logMsg(sprintf('Grant failed, aro_tbl.name %sdoes 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__); 518 518 return false; 519 519 } 520 520 $qid = $db->query("SELECT aco_tbl.aco_id FROM aco_tbl WHERE aco_tbl.name = '" . $db->escapeString($aco) . "'"); 521 521 if (!list($aco_id) = mysql_fetch_row($qid)) { 522 $app->logMsg(sprintf('Grant failed, aco_tbl.name %sdoes 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__); 523 523 return false; 524 524 } 525 525 $qid = $db->query("SELECT axo_tbl.axo_id FROM axo_tbl WHERE axo_tbl.name = '" . $db->escapeString($axo) . "'"); 526 526 if (!list($axo_id) = mysql_fetch_row($qid)) { 527 $app->logMsg(sprintf('Grant failed, axo_tbl.name %sdoes 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__); 528 528 return false; 529 529 }
Note: See TracChangeset
for help on using the changeset viewer.