Browse files

Fix bug in JDatabaseQuery::escape (no return value).

  • Loading branch information...
1 parent 5ea9d31 commit e607bcb30f9d043723e9549dee3f1b78d293ac01 @eddieajau committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/database/databasequery.php
View
2 libraries/joomla/database/databasequery.php
@@ -627,7 +627,7 @@ public function escape($text, $extra = false)
throw new JDatabaseException('JLIB_DATABASE_ERROR_INVALID_DB_OBJECT');
}
- $this->db->escape($text, $extra);
+ return $this->db->escape($text, $extra);
}
/**

0 comments on commit e607bcb

Please sign in to comment.