$join_conds
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 19 May 2008 17:02:58 +0000 (17:02 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 19 May 2008 17:02:58 +0000 (17:02 +0000)
includes/Database.php

index 6b8e9b0..44ef02b 100644 (file)
@@ -1020,9 +1020,9 @@ class Database {
         *
         * @todo migrate documentation to phpdocumentor format
         */
-       function selectRow( $table, $vars, $conds, $fname = 'Database::selectRow', $options = array() ) {
+       function selectRow( $table, $vars, $conds, $fname = 'Database::selectRow', $options = array(), $join_conds = array() ) {
                $options['LIMIT'] = 1;
-               $res = $this->select( $table, $vars, $conds, $fname, $options );
+               $res = $this->select( $table, $vars, $conds, $fname, $options, $join_conds );
                if ( $res === false )
                        return false;
                if ( !$this->numRows($res) ) {