From: Sam Reed Date: Sun, 27 Mar 2011 01:22:44 +0000 (+0000) Subject: Remove remaining empty() call in r79119 X-Git-Tag: 1.31.0-rc.0~31168 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c52ff356d2fca8cb23ae34662817c3b11d739ed9;p=lhc%2Fweb%2Fwiklou.git Remove remaining empty() call in r79119 --- diff --git a/includes/db/DatabaseMysql.php b/includes/db/DatabaseMysql.php index 5e9c27f48b..25c360d6d2 100644 --- a/includes/db/DatabaseMysql.php +++ b/includes/db/DatabaseMysql.php @@ -542,7 +542,7 @@ class DatabaseMysql extends DatabaseBase { $vars = get_object_vars($table); $table = array_pop( $vars ); - if( empty( $prefix ) || strpos( $table, $prefix ) === 0 ) { + if( !$prefix || strpos( $table, $prefix ) === 0 ) { $endArray[] = $table; } }