Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -117,7 +117,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
\IPSUtf8\Session::i()->current_pkey = 'archive_id';
|
||||
\IPSUtf8\Session::i()->save();
|
||||
|
||||
if ( in_array( self::ARCHIVE_TABLE, array_keys( \IPSUtf8\Session::i()->completed_json ) ) )
|
||||
if ( \in_array( self::ARCHIVE_TABLE, array_keys( \IPSUtf8\Session::i()->completed_json ) ) )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
/* Best check the tables, then */
|
||||
foreach( self::$tableDefinition['definition']['columns'] as $name => $column )
|
||||
{
|
||||
if ( $column['collation'] and ! in_array( $column['collation'], array( 'utf8_unicode_ci', 'utf8mb4_unicode_ci' ) ) )
|
||||
if ( $column['collation'] and ! \in_array( $column['collation'], array( 'utf8_unicode_ci', 'utf8mb4_unicode_ci' ) ) )
|
||||
{
|
||||
static::$nonUtf8Collations[] = self::$tableDefinition['name'];
|
||||
break;
|
||||
@@ -211,7 +211,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
*/
|
||||
public static function getNumericColumns( $name )
|
||||
{
|
||||
if ( ! is_string( $name ) )
|
||||
if ( ! \is_string( $name ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -220,7 +220,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
|
||||
foreach( self::$tableDefinition['definition']['columns'] as $col => $val )
|
||||
{
|
||||
if ( in_array( mb_strtolower( $val['type'] ), static::$numericCols ) )
|
||||
if ( \in_array( mb_strtolower( $val['type'] ), static::$numericCols ) )
|
||||
{
|
||||
$return[] = $val['name'];
|
||||
}
|
||||
@@ -237,7 +237,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
*/
|
||||
public static function getConvertableColumns( $name )
|
||||
{
|
||||
if ( ! is_string( $name ) )
|
||||
if ( ! \is_string( $name ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -246,7 +246,7 @@ class Archive extends \IPSUtf8\Convert
|
||||
|
||||
foreach( self::$tableDefinition['definition']['columns'] as $col => $val )
|
||||
{
|
||||
if ( in_array( mb_strtolower( $val['type'] ), static::$convertCols ) )
|
||||
if ( \in_array( mb_strtolower( $val['type'] ), static::$convertCols ) )
|
||||
{
|
||||
$return[] = $val['name'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user