diff options
-rw-r--r-- | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ class Api_Resize_Media extends Plugin { /** @noinspection PhpUnused */ function hook_article_image($enclosures, $content, $site_url) { - $width = (int) clean($_REQUEST["resize_width"]); + $width = (int) clean($_REQUEST["resize_width"] ?? 0); $article = $this->process_article(["headline" => ["content" => $content]], $width); |