@@ -122,7 +122,8 @@ discard block |
||
| 122 | 122 | $tzstring = ''; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | - if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists |
|
| 125 | + if ( empty( $tzstring ) ) { |
|
| 126 | +// Create a UTC+- zone if no timezone string exists |
|
| 126 | 127 | if ( 0 == $current_offset ) { |
| 127 | 128 | $tzstring = 'UTC+0'; |
| 128 | 129 | } elseif ( $current_offset < 0 ) { |
@@ -179,7 +180,7 @@ discard block |
||
| 179 | 180 | * @param mixed $value Value to check |
| 180 | 181 | * @return bool True or false |
| 181 | 182 | */ |
| 182 | - public static function notempty( $value ){ |
|
| 183 | + public static function notempty( $value ) { |
|
| 183 | 184 | return null !== $value && '' !== $value && false !== $value && array() !== $value; |
| 184 | 185 | } |
| 185 | 186 | |