Deleted checks if ( !$sql ).