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