Internal overhaul of Cart/Checkout and other minor fixes
This commit is contained in:
@@ -221,7 +221,7 @@ abstract class ORM extends Kohana_ORM {
|
||||
public function save(Validation $validation=NULL) {
|
||||
parent::save();
|
||||
|
||||
if ($this->saved() AND $this->_save_message)
|
||||
if ($this->saved() AND $this->_save_message AND (PHP_SAPI !== 'cli'))
|
||||
SystemMessage::factory()
|
||||
->title('Record Updated')
|
||||
->type('success')
|
||||
|
Reference in New Issue
Block a user