|
@@ -2666,13 +2666,14 @@ class ReceiptExtendController extends DooController {
|
|
|
Doo::loadClass ( 'XDeode' );
|
|
|
|
|
|
$cidKeyIn=file_get_contents( "protected/config/receipt/summary.conf.ini");
|
|
|
- $cidKeyIn=explode(',', $cidKeyIn);$cidIn=array();
|
|
|
- foreach ($cidKeyIn as $key=>$value){
|
|
|
- $XDeode = new XDeode ( 5 );
|
|
|
- array_push($cidIn, $XDeode->decode($value));
|
|
|
+ if(!empty($cidKeyIn)){
|
|
|
+ $cidKeyIn=explode(',', $cidKeyIn);$cidIn=array();
|
|
|
+ foreach ($cidKeyIn as $key=>$value){
|
|
|
+ $XDeode = new XDeode ( 5 );
|
|
|
+ array_push($cidIn, $XDeode->decode($value));
|
|
|
+ }
|
|
|
+ $cidIn=implode(',', $cidIn);
|
|
|
}
|
|
|
- $cidIn=implode(',', $cidIn);
|
|
|
-
|
|
|
$year= $this->get_args ( 'year' ) ? $this->get_args ( 'year' ) : date('Y');
|
|
|
|
|
|
|