Changeset 2975 for trunk/system/libraries/ORM.php
- Timestamp:
- 07/06/2008 07:20:45 PM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/ORM.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/ORM.php
r2915 r2975 117 117 if ($this->auto_save == TRUE) 118 118 { 119 // Automatically save the model 120 $this->save(); 119 try 120 { 121 // Automatically save the model 122 $this->save(); 123 } 124 catch (Exception $e) 125 { 126 /// Log the error, rather than trying to display it, to avoid 127 // "stack frame" errors. http://bugs.php.net/bug.php?id=33598 128 Log::add('error', $e->getMessage()); 129 } 121 130 } 122 131 }
