Skip to content
Browse files

Adapted to new JDatabase::quoteName() format

  • Loading branch information...
1 parent aa3a7f1 commit c4a663071b4cc4b83327507eeeffb204b1ccf0b1 @elkuku committed Jan 4, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/dbdrivers/sqlite.php
View
6 src/dbdrivers/sqlite.php
@@ -570,12 +570,12 @@ public function query()
*
* @return string The quote wrapped name.
*
- * @since 11.1
+ * @since ¿
*/
- public function quoteName($name)
+ public function quoteName($name, $as = null)
{
// SQLite does not use quotes
- return $name;
+ return (null == $as) ? $name : $name.' AS '.$as;
}
/**

0 comments on commit c4a6630

Please sign in to comment.
Something went wrong with that request. Please try again.