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:
Mark Jaquith 2007-08-10 18:08:04 +00:00
parent c441bc3d96
commit 91a88550f1
1 changed files with 0 additions and 2 deletions

View File

@ -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] ) {