@@ -67,14 +67,14 @@ |
||
| 67 | 67 | if (strlen($match[1]) > strlen($match[2])) { |
| 68 | 68 | $match[2] = substr($match[1], 0, strlen($match[1]) - strlen($match[2])) . $match[2]; |
| 69 | 69 | } |
| 70 | - $ged_date = new Date("FROM {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 70 | + $ged_date = new Date("from {$cal} {$match[1]} TO {$cal} {$match[2]}"); |
|
| 71 | 71 | $view = 'year'; |
| 72 | 72 | } else { |
| 73 | 73 | // advanced-year "decade/century wildcard" |
| 74 | 74 | if (preg_match('/^(\d+)(\?+)$/', $year, $match)) { |
| 75 | 75 | $y1 = $match[1] . str_replace('?', '0', $match[2]); |
| 76 | 76 | $y2 = $match[1] . str_replace('?', '9', $match[2]); |
| 77 | - $ged_date = new Date("FROM {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 77 | + $ged_date = new Date("from {$cal} {$y1} TO {$cal} {$y2}"); |
|
| 78 | 78 | $view = 'year'; |
| 79 | 79 | } else { |
| 80 | 80 | if ($year < 0) { |
@@ -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([ |