Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: Wrong test key
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Jomier committed Mar 23, 2011
1 parent 66e348d commit c8bd8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/MIDAS/models/MIDASDatabasePdo.php
Expand Up @@ -320,7 +320,7 @@ public function delete($dao)
{
throw new Zend_Exception("The dao should be saved first ...");
}
if(!isset($this->_key))
if(!isset($this->_key) || !$this->_key)
{
$query=array();
foreach ($this->_mainData as $name => $option)
Expand Down

0 comments on commit c8bd8ac

Please sign in to comment.