Changeset 1948

Show
Ignore:
Timestamp:
05/05/08 21:49:24 (7 months ago)
Author:
steevanb
Message:

!!! CRITIQUE !!!
Apparement, getOption renvoyait le nom de l'option passé en paramètre, et non pas sa valeur. Remplacement du retour par la véritable valeur.
Coté implication, je n'en ai trouvé qu'une : CopixDbConnection?.oci.class.php, ligne 135 : $funcName = $this->_profil->getOption (CopixDBProfile::PERSISTENT) ? 'oci_pconnect' : 'oci_connect';

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/utils/copix/db/CopixDb.class.php

    r1856 r1948  
    293293    public function getOption ($pOption){ 
    294294        if (isset ($this->_options[$pOption])){ 
    295             return $pOption
     295            return $this->_options[$pOption]
    296296        } 
    297297        return null;