Fix PHP notice - $use_js was removed from the core in revision 13713
[squirrelmail.git] / templates / default / addressbook_search_form.tpl
index b9e2545..96f92f2 100644 (file)
@@ -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").'"'; ?> />