Completed
Branch BUG-10274-DbSafeDateTime (f52e40)
by
unknown
48:10 queued 36:56
created
core/domain/entities/DbSafeDateTime.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -49,19 +49,19 @@
 block discarded – undo
49 49
 	public function __wakeup() {
50 50
 		$date = \DateTime::createFromFormat( DbSafeDateTime::db_safe_timestamp_format, $this->_datetime_string );
51 51
 		if ( ! $date instanceof \DateTime) {
52
-            error_log(
53
-                sprintf(
54
-                    __(
55
-                        'A valid DateTime could not be recreated from "%1$s"  because the following errors occurred: %2$s %3$s %2$s PHP version: %4$s',
56
-                        'event_espresso'
57
-                    ),
58
-                    $this->_datetime_string,
59
-                    '<br />',
60
-                    print_r(\DateTime::getLastErrors(), true),
61
-                    PHP_VERSION
62
-                )
63
-            );
64
-        }
52
+			error_log(
53
+				sprintf(
54
+					__(
55
+						'A valid DateTime could not be recreated from "%1$s"  because the following errors occurred: %2$s %3$s %2$s PHP version: %4$s',
56
+						'event_espresso'
57
+					),
58
+					$this->_datetime_string,
59
+					'<br />',
60
+					print_r(\DateTime::getLastErrors(), true),
61
+					PHP_VERSION
62
+				)
63
+			);
64
+		}
65 65
 		$this->__construct(
66 66
 			$date->format( \EE_Datetime_Field::mysql_timestamp_format),
67 67
 			new \DateTimeZone( $date->format( 'e' ) )
Please login to merge, or discard this patch.