Merged revisions 3632 via svnmerge from

svn+ssh://danydb@svn/svn/phpcompta/branches/rel520

........
  r3632 | danydb | 2010-08-07 09:42:55 +0200 (Sat, 07 Aug 2010) | 1 line
  
  Small bug : error when operation not found on old PHP version
........
This commit is contained in:
Dany De Bontridder 2010-08-07 16:07:31 +00:00
parent 03dfa0cb9e
commit 3ddf491bdb

View file

@ -123,12 +123,13 @@ case 'rmop':
// DE Detail
//////////////////////////////////////////////////////////////////////
case 'de':
ob_start();
try {
$op->get(); /* get detail op (D/C) */
$obj=$op->get_quant(); /* return an obj. ACH / FIN or VEN or null if nothing is found*/
$oLedger=new Acc_Ledger($cn,$ledger);
ob_start();
if ( $obj==null || $obj->signature == 'ODS' ) {
/* only the details */
require_once('template/ledger_detail_misc.php');