Permalink
Browse files

Fix system test failures

  • Loading branch information...
1 parent cd511ab commit d7de0a36b49517f34b097da6685ae6299c1e5faf @mbabker committed Apr 1, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 libraries/joomla/table/user.php
  2. +2 −2 modules/mod_articles_archive/helper.php
@@ -221,8 +221,8 @@ public function check()
}
// Check for existing email
- $query->clear>clear()
- -t($this->_db->quoteName('id'))
+ $query->clear()
+ ->select($this->_db->quoteName('id'))
->from($this->_db->quoteName('#__users'))
->where($this->_db->quoteName('email') . ' = ' . $this->_db->quote($this->email))
->where($this->_db->quoteName('id') . ' != ' . (int) $this->id);
@@ -25,8 +25,8 @@ public static function getList(&$params)
{
//get database
$db = JFactory::getDbo();
- $query = $db->getQuery(true)
- ->select($query->month($db->quoteName('created')) . ' AS created_month')
+ $query = $db->getQuery(true);
+ $query->select($query->month($db->quoteName('created')) . ' AS created_month')
->select('created, id, title')
->select($query->year($db->quoteName('created')) . ' AS created_year')
->from('#__content')

0 comments on commit d7de0a3

Please sign in to comment.