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


Ignore:
Timestamp:
Apr 5, 2007 1:48:45 AM (17 years ago)
Author:
quinn
Message:

Converted all string functions to multi-byte (mb_*) functions

File:
1 edited

Legend:

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

    r218 r247  
    595595
    596596        $final_where = join(' AND ', $where);
    597         if (substr_count($final_where, 'IS NOT NULL') == 3) {
     597        if (mb_substr_count($final_where, 'IS NOT NULL') == 3) {
    598598            // Null on all three tables will delete ALL entries including the root -> root -> root = deny.
    599599            $app->logMsg(sprintf('Cannot allow deletion of ALL acl entries.', null), LOG_NOTICE, __FILE__, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.