Explorar el Código

Fix PHP notice - $use_js was removed from the core in revision 13713

pdontthink hace 16 años
padre
commit
064548fa03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      templates/default/addressbook_search_form.tpl

+ 1 - 1
templates/default/addressbook_search_form.tpl

@@ -66,7 +66,7 @@ extract($t);
      
    <input type="submit" name="listall" value=<?php echo '"'._("List all").'"'; ?> />
    <?php
-    if ($use_js) {
+    if ($javascript_on && $compose_addr_pop) {
         ?>
    &nbsp;&nbsp;
    <input type="submit" onclick="parent.close()" value=<?php echo '"'._("Close").'"'; ?> />