Fix PHP notice - $use_js was removed from the core in revision 13713
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 12 Sep 2009 20:49:22 +0000 (20:49 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 12 Sep 2009 20:49:22 +0000 (20:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13843 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/addressbook_search_form.tpl

index b9e25450576bc12fb4f0d5af22d44ffb8d5fe1d9..96f92f20f1f02414ab66deef0644f903a926a8b9 100644 (file)
@@ -66,7 +66,7 @@ extract($t);
    &nbsp;&nbsp;
    <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").'"'; ?> />