mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
* sizeof is alias of count
This commit is contained in:
parent
b1fd1263f1
commit
5f22ab0361
@ -17,7 +17,7 @@ else
|
||||
{
|
||||
// detect locale
|
||||
$locale_s = get_browser_languages();
|
||||
if(!sizeof($locale_s))
|
||||
if(!count($locale_s))
|
||||
$locale_ = 'en';
|
||||
else
|
||||
{
|
||||
|
@ -245,7 +245,7 @@ class Items_Images
|
||||
/*
|
||||
if ( $nostand )
|
||||
{
|
||||
for( $i = 0; $i < sizeof( $sprites ) / 4; $i++ )
|
||||
for( $i = 0; $i < count( $sprites ) / 4; $i++ )
|
||||
{
|
||||
$sprites = array_merge( (array) $sprites, array_reverse( array_slice( $sprites, $i * 4, 4 ) ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user