Unnecesary direct access to user setting superseded by calls to user_* functions.
[fa-stable.git] / sales / sales_order_entry.php
index 2a0aa0b63b8b7be6eecc8f6c06efcdcb873f76b3..7a33997245a2073a3b865efcc3a3cea0b19cb7b1 100644 (file)
@@ -51,7 +51,7 @@ set_page_security( @$_SESSION['Items']->trans_type,
 
 $js = '';
 
-if ($SysPrefs->SysPrefs->use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }