pending commit, finished during MQ/S download ...
[platal.git] / plugins / block.only_public.php
index 31a9ac1..24430a2 100644 (file)
@@ -30,7 +30,7 @@
  */
 function smarty_block_only_public($params, $content, &$smarty)
 {
-    if( empty($content) || logged() )
+    if( empty($content) || S::logged() )
         return;
     return $content;
 }