developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #722: jformsbase.patch

File jformsbase.patch, 607 bytes (added by doubleface, 12 years ago)
  • lib/jelix/forms/jFormsBase.class.php

    diff -r ce2c061119ce lib/jelix/forms/jFormsBase.class.php
    a b  
    372372        if(!is_array($primaryKey))
    373373            $primaryKey =array($primaryKey);
    374374
    375         $dao = jDao::create($daoSelector);
    376         $daorec = jDao::createRecord($daoSelector);
     375        $dao = jDao::create($daoSelector, $dbProfil);
     376        $daorec = jDao::createRecord($daoSelector, $dbProfil);
    377377
    378378        $conditions = jDao::createConditions();
    379379        if($primaryKeyNames)