Bladeren bron

avoid E_STRICT errors

pdontthink 17 jaren geleden
bovenliggende
commit
6b1c1ef750
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      functions/mailbox_display.php

+ 2 - 1
functions/mailbox_display.php

@@ -606,7 +606,8 @@ function prepareMessageList(&$aMailbox, $aProps) {
                         // $onclick, $link_extra, $title, and so forth)
                         // $onclick, $link_extra, $title, and so forth)
                         // plugins are responsible for sharing nicely (such as for
                         // plugins are responsible for sharing nicely (such as for
                         // setting the target, etc)
                         // setting the target, etc)
-                        do_hook('subject_link', $temp=array(&$iPageOffset, &$sSearch, &$aSearch, $aMsg));
+                        $temp = array(&$iPageOffset, &$sSearch, &$aSearch, $aMsg);
+                        do_hook('subject_link', $temp);
                     }
                     }
                     $value = (trim($value)) ? $value : _("(no subject)");
                     $value = (trim($value)) ? $value : _("(no subject)");
                     /* add thread indentation */
                     /* add thread indentation */