added or_having, deprecated orhaving
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 9035842..b97fb11 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -779,7 +779,19 @@
 	{

 		return $this->_having($key, $value, 'AND ');

 	}

-	

+

+	// --------------------------------------------------------------------

+

+	/**

+	 * orhaving() is an alias of or_having()

+	 * this function is here for backwards compatibility, as

+	 * orhaving() has been deprecated

+	 */

+

+	function orhaving($key, $value = '')

+	{

+		return $this->or_havinggroup_by($key, $value = '');

+	}	

 	// --------------------------------------------------------------------

 

 	/**

@@ -792,7 +804,7 @@
 	 * @param	string

 	 * @return	object

 	 */

-	function orhaving($key, $value = '')

+	function or_having($key, $value = '')

 	{

 		return $this->_having($key, $value, 'OR ');

 	}