@@ -168,7 +168,7 @@ |
||
| 168 | 168 | DebugBar::addThrowable($ex); |
| 169 | 169 | |
| 170 | 170 | // The module has been deleted or is broken? Disable it. |
| 171 | - Log::addConfigurationLog("Module {$module_name} is missing or broken - disabling it. " . $ex->getMessage()); |
|
| 171 | + Log::addConfigurationLog("module {$module_name} is missing or broken - disabling it. " . $ex->getMessage()); |
|
| 172 | 172 | Database::prepare( |
| 173 | 173 | "UPDATE `##module` SET status = 'disabled' WHERE module_name = :module_name" |
| 174 | 174 | )->execute([ |
@@ -73,14 +73,14 @@ discard block |
||
| 73 | 73 | if (strlen($match[1]) > strlen($match[2])) { |
| 74 | 74 | $match[2] = substr($match[1], 0, strlen($match[1]) - strlen($match[2])) . $match[2]; |
| 75 | 75 | } |
| 76 | - $ged_date = new Date("FROM {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 76 | + $ged_date = new Date("from {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 77 | 77 | $view = 'year'; |
| 78 | 78 | } else { |
| 79 | 79 | // advanced-year "decade/century wildcard" |
| 80 | 80 | if (preg_match('/^(\d+)(\?+)$/', $year, $match)) { |
| 81 | 81 | $y1 = $match[1] . str_replace('?', '0', $match[2]); |
| 82 | 82 | $y2 = $match[1] . str_replace('?', '9', $match[2]); |
| 83 | - $ged_date = new Date("FROM {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 83 | + $ged_date = new Date("from {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 84 | 84 | $view = 'year'; |
| 85 | 85 | } else { |
| 86 | 86 | if ($year < 0) { |
@@ -192,14 +192,14 @@ discard block |
||
| 192 | 192 | if (strlen($match[1]) > strlen($match[2])) { |
| 193 | 193 | $match[2] = substr($match[1], 0, strlen($match[1]) - strlen($match[2])) . $match[2]; |
| 194 | 194 | } |
| 195 | - $ged_date = new Date("FROM {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 195 | + $ged_date = new Date("from {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 196 | 196 | $view = 'year'; |
| 197 | 197 | } else { |
| 198 | 198 | // advanced-year "decade/century wildcard" |
| 199 | 199 | if (preg_match('/^(\d+)(\?+)$/', $year, $match)) { |
| 200 | 200 | $y1 = $match[1] . str_replace('?', '0', $match[2]); |
| 201 | 201 | $y2 = $match[1] . str_replace('?', '9', $match[2]); |
| 202 | - $ged_date = new Date("FROM {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 202 | + $ged_date = new Date("from {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 203 | 203 | $view = 'year'; |
| 204 | 204 | } else { |
| 205 | 205 | if ($year < 0) { |