Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / admin / attachments.php
index 347c1be5aa23d1f52520593fe322c9fc1b9a5758..4803ca771e00744abfeab67b1999db85882a1def 100644 (file)
@@ -69,7 +69,7 @@ if ($download_id != -1)
 }
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 page(_($help_context = "Attach Documents"), false, false, "", $js);