Merge pull request #22449 from mattwire/phpnotices
[civicrm-core.git] / templates / CRM / common / status.tpl
index c2d81be5a2ec089901846cd5bba592a9032ec4cb..5ff662baf0dc3ad79b353b77d40f1132f78ba92d 100644 (file)
@@ -12,8 +12,8 @@
 {if $session->getStatus(false)}
   {assign var="status" value=$session->getStatus(true)}
   {foreach name=statLoop item=statItem from=$status}
-    {if $urlIsPublic}
-      {assign var="infoType" value="no-popup"}
+    {if !empty($urlIsPublic)}
+      {assign var="infoType" value="no-popup `$statItem.type`"}
     {else}
       {assign var="infoType" value=$statItem.type}
     {/if}