Internal overhaul of Cart/Checkout and other minor fixes

This commit is contained in:
Deon George
2013-12-02 15:16:28 +11:00
parent f8a5b153cf
commit 06b87c5135
26 changed files with 256 additions and 228 deletions

View File

@@ -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')