Prevent get_col() from returning an array of NULLs. see #4725

git-svn-id: http://svn.automattic.com/wordpress/trunk@5860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-08-10 18:08:04 +00:00
parent 676ea2ea3c
commit 5b82b1c426
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] ) {