mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2025-07-30 17:57:13 +02:00
Remove unnecessary isset() before empty()
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
This commit is contained in:
@ -105,7 +105,7 @@
|
||||
$GLOBALS['pg4wp_connstr'] = '';
|
||||
|
||||
// Execute early transmitted commands if needed
|
||||
if( isset($GLOBALS['pg4wp_pre_sql']) && !empty($GLOBALS['pg4wp_pre_sql']))
|
||||
if( !empty($GLOBALS['pg4wp_pre_sql']))
|
||||
foreach( $GLOBALS['pg4wp_pre_sql'] as $sql2run)
|
||||
wpsql_query( $sql2run);
|
||||
|
||||
|
Reference in New Issue
Block a user