Changeset 2777

Show
Ignore:
Timestamp:
03/09/10 17:09:03 (2 years ago)
Author:
areski
Message:

fix on archive

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/admin/Public/A2B_data_archiving.php

    r2775 r2777  
    204204        $condition = " WHERE $condition"; 
    205205    } 
     206    echo "condition : $condition"; 
    206207    $rec = archive_data($condition, "card"); 
    207208    if($rec > 0) 
  • trunk/common/lib/Misc.php

    r2771 r2777  
    10161016 */ 
    10171017 
    1018 function archive_data($condition, $entity = "") { 
    1019         if (empty ($condition)) { 
    1020                 return 0; 
    1021                 exit; 
    1022         } 
     1018function archive_data($condition, $entity = "") 
     1019{        
    10231020        $handle = DbConnect(); 
    10241021        $instance_table = new Table();