Changeset 10002
- Timestamp:
- 06/30/10 00:27:43 (3 years ago)
- Files:
-
- modules/branches/2.8 (modified) (1 prop)
- modules/branches/2.8/fax/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.8
- Property svnmerge-integrated changed from /modules/branches/2.7:1-9074,9105 to /modules/branches/2.7:1-9074,9105,10001
modules/branches/2.8/fax/install.php
r9424 r10002 231 231 } 232 232 233 $compiled = $db->prepare("INSERT INTO `fax_incoming` (`extension`, `cidnum`, `detection`, `detectionwait`, `destination`, `legacy_email`) VALUES (?,?,?,?,?,?)"); 234 $result = $db->executeMultiple($compiled,$insert_array); 235 if(DB::IsError($result)) { 233 if (!empty($insert_array)) { 234 $compiled = $db->prepare("INSERT INTO `fax_incoming` (`extension`, `cidnum`, `detection`, `detectionwait`, `destination`, `legacy_email`) VALUES (?,?,?,?,?,?)"); 235 $result = $db->executeMultiple($compiled,$insert_array); 236 } 237 if(!empty($insert_array) && DB::IsError($result)) { 236 238 out("Fatal error migrating to fax module..legacy data retained in incoming and globals tables"); 237 239 die_freepbx( "Fatal error during migration: " . $result->getMessage() . "\n");
