stub mb_ functions
This commit is contained in:
parent
90cbd9fff8
commit
e0d3d53479
@ -813,7 +813,7 @@ class Image {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// no tags, do a simple search
|
// no tags, do a simple search
|
||||||
if($positive_tag_count + $negative_tag_count == 0) {
|
if($positive_tag_count === 0 && $negative_tag_count === 0) {
|
||||||
$query = new Querylet("
|
$query = new Querylet("
|
||||||
SELECT images.*
|
SELECT images.*
|
||||||
FROM images
|
FROM images
|
||||||
|
@ -412,6 +412,11 @@ function endsWith(/*string*/ $haystack, /*string*/ $needle) {
|
|||||||
return (substr($haystack, $start) === $needle);
|
return (substr($haystack, $start) === $needle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!function_exists("mb_strlen")) { // D:
|
||||||
|
function mb_strlen($str) {return strlen($str);}
|
||||||
|
function mb_internal_encoding($enc) {}
|
||||||
|
function mb_strtolower($str) {return strtolower($str);}
|
||||||
|
}
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
||||||
* HTML Generation *
|
* HTML Generation *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user