Fixes from live website
This commit is contained in:
@@ -59,7 +59,7 @@ class Controller_Checkout extends Controller_TemplateDefault {
|
||||
$test_id = FALSE;
|
||||
$co = ORM::factory('Checkout',$this->request->param('id'));
|
||||
|
||||
if ((! $co->loaded() OR ! Request::current()->post()) AND ! $test_id=Kohana::$config->load('debug')->checkout_notify)
|
||||
if ((! $co->loaded() OR ! Request::current()->post()) AND ! ($test_id=Kohana::$config->load('debug')->checkout_notify))
|
||||
throw HTTP_Exception::factory(404,'Payment not found!');
|
||||
|
||||
$this->auto_render = FALSE;
|
||||
|
Reference in New Issue
Block a user