Changeset 2976
- Timestamp:
- 07/06/2008 07:22:40 PM (5 months ago)
- Files:
-
- 1 modified
-
tags/2.1.3/system/libraries/ORM.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/2.1.3/system/libraries/ORM.php
r2260 r2976 102 102 if ($this->auto_save == TRUE) 103 103 { 104 // Automatically save the model 105 $this->save(); 104 try 105 { 106 // Automatically save the model 107 $this->save(); 108 } 109 catch (Exception $e) 110 { 111 /// Log the error, rather than trying to display it, to avoid 112 // "stack frame" errors. http://bugs.php.net/bug.php?id=33598 113 Log::add('error', $e->getMessage()); 114 } 106 115 } 107 116 }
