From 693b18f50c16864d5f8df676ec1230ef931c13c9 Mon Sep 17 00:00:00 2001 From: Daku Date: Tue, 2 Sep 2014 17:06:39 +0100 Subject: [PATCH] fix "Image Only" not working with nice_urls disabled --- ext/handle_pixel/main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/handle_pixel/main.php b/ext/handle_pixel/main.php index 77b72be7..bacc8804 100644 --- a/ext/handle_pixel/main.php +++ b/ext/handle_pixel/main.php @@ -107,8 +107,10 @@ class PixelFileHandler extends DataHandlerExtension { ", 20); $u_ilink = $event->image->get_image_link(); + $nu_enabled = (strpos($u_ilink, '?') !== false ? "" : ""); $event->add_part("
+ $nu_enabled
", 21);