diff options
| author | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-02-03 20:14:37 +0200 |
|---|---|---|
| committer | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-02-03 20:14:37 +0200 |
| commit | e2e0c2ffd139d3f2a653fbe4ffa110c2d58bcce6 (patch) | |
| tree | 2e0ebc14dd3dbf814051a1ce6995100068bef491 /models/webpage.php | |
| parent | b0368ff5c93601473ff139d61adcd1e64cb6458f (diff) | |
| download | nowayforward_human-e2e0c2ffd139d3f2a653fbe4ffa110c2d58bcce6.tar nowayforward_human-e2e0c2ffd139d3f2a653fbe4ffa110c2d58bcce6.tar.gz nowayforward_human-e2e0c2ffd139d3f2a653fbe4ffa110c2d58bcce6.zip | |
Added a way for the titles and favicons to be null
Diffstat (limited to 'models/webpage.php')
| -rw-r--r-- | models/webpage.php | 2 |
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"); } |
