diff --git a/include/class_listing.inc b/include/class_listing.inc
index 69ecba2be01407c81d5754f4d11d205a3f3a7c1d..b948254cf4d54174efe63ed72eb8b7edc977c887 100644
--- a/include/class_listing.inc
+++ b/include/class_listing.inc
@@ -484,7 +484,7 @@ class listing
     $smarty = get_smarty();
     $smarty->assign("usePrototype", "true");
     $smarty->assign("FILTER", $this->filter->render());
-    $smarty->assign("SIZELIMIT", $ui->getSizeLimitHandler(()->renderWarning());
+    $smarty->assign("SIZELIMIT", $ui->getSizeLimitHandler()->renderWarning());
     $smarty->assign("LIST", $result);
     $smarty->assign("MULTISELECT", $this->multiSelect);