Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: https://develop.svn.wordpress.org/trunk@5860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c441bc3d96
commit
91a88550f1
@ -260,8 +260,6 @@ class wpdb {
|
||||
$this->func_call = "\$db->get_var(\"$query\",$x,$y)";
|
||||
if ( $query )
|
||||
$this->query($query);
|
||||
else
|
||||
return null;
|
||||
|
||||
// Extract var out of cached results based x,y vals
|
||||
if ( $this->last_result[$y] ) {
|
||||
|
Loading…
Reference in New Issue
Block a user