Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1498
 
1616
 
1616
 
currencies.php
_> 5959           $Qupdate->bindValue(':configuration_key', 'DEFAULT_CURRENCY');
  6060           $Qupdate->setLogging($_SESSION['module'], $id);
  6161           $Qupdate->execute();
<>  62+        }
6263 
<> 63 -          if ( $Qupdate->affectedRows() ) {
   64+        if ( !$osC_Database->isError() ) {
   65+          $osC_Database->commitTransaction();
   66+
   67+          osC_Cache::clear('currencies');
   68+
   69+          if ( ( $set_default === true ) && $Qupdate->affectedRows() ) {
6470             osC_Cache::clear('configuration');
  6571           }
<> 66 -        }
6772 
<> 68 -        osC_Cache::clear('currencies');
  69 -
  70 -        return true;
   73+          return true;
   74+        }
7175       }
  7276 
<>  77+      $osC_Database->rollbackTransaction();
   78+
<_ 7379       return false;
  7480     }
  7581