From: Aaron Schulz Date: Mon, 19 May 2008 17:02:58 +0000 (+0000) Subject: $join_conds X-Git-Tag: 1.31.0-rc.0~47541 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=973713b2e9bc5c265502db226911caf32d96c58a;p=lhc%2Fweb%2Fwiklou.git $join_conds --- diff --git a/includes/Database.php b/includes/Database.php index 6b8e9b050e..44ef02b3a3 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -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) ) {