aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--models/webpage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webpage.php b/models/webpage.php
index 2bcc265..90ffb45 100644
--- a/models/webpage.php
+++ b/models/webpage.php
@@ -40,7 +40,7 @@ class Webpage extends Table {
return Table::_get_entries_count("Webpages");
}
- static function updateNewArchive(int $WID, string $faviconPath, string $newTitle) : void {
+ static function updateNewArchive(int $WID, ?string $faviconPath, ?string $newTitle) : void {
Table::_update("Webpages", "FaviconPath = \"$faviconPath\", Title = \"$newTitle\"", "WID = $WID");
}