@@ -71,8 +71,8 @@ |
||
71 | 71 | $where[] = ['data', $_GET['data']]; |
72 | 72 | } |
73 | 73 | $pays = Money\Pay::getList(['where' => $where, 'order' => ['date_create', 'DESC']]); |
74 | - if(count($pays)===1){ |
|
75 | - Tools::redirect('/money/merchants/pay/'.current($pays)->id); |
|
74 | + if (count($pays) === 1) { |
|
75 | + Tools::redirect('/money/merchants/pay/' . current($pays)->id); |
|
76 | 76 | } |
77 | 77 | $this->view->page(['content' => 'pays', 'data' => compact('bread', 'pays')]); |
78 | 78 | } else { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | $where[] = ['data', $_GET['data']]; |
72 | 72 | } |
73 | 73 | $pays = Money\Pay::getList(['where' => $where, 'order' => ['date_create', 'DESC']]); |
74 | - if(count($pays)===1){ |
|
74 | + if(count($pays)===1) { |
|
75 | 75 | Tools::redirect('/money/merchants/pay/'.current($pays)->id); |
76 | 76 | } |
77 | 77 | $this->view->page(['content' => 'pays', 'data' => compact('bread', 'pays')]); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | )); |
34 | 34 | $context = stream_context_create($options); |
35 | 35 | echo "<style>.tmg {margin:0 auto}</style>"; |
36 | - echo file_get_contents("http://{$config['domain']}.paykeeper.ru/order/inline/", FALSE, $context); |
|
36 | + echo file_get_contents("http://{$config['domain']}.paykeeper.ru/order/inline/", false, $context); |
|
37 | 37 | |
38 | 38 | } |
39 | 39 |