[fix] And more.

This commit is contained in:
Solomon Peachy 2022-11-20 18:33:39 -05:00
parent dc3dc63d1d
commit 133e21bc46
1 changed files with 2 additions and 1 deletions

View File

@ -22,10 +22,11 @@ include_once "include/profile.php";
include_once "include/site.php";
include_once "include/common.php";
$database = site_prolog(PO_USER_TYPE_USER);
$manufacturer_filter = pg_escape_string($database, isset($_REQUEST['filter']) ? $_REQUEST['filter'] : "");
$camera_id = pg_escape_string($database, array_key_exists('item', $_REQUEST) ? $_REQUEST['item'] : 0);
$database = site_prolog(PO_USER_TYPE_USER);
$type = 'camera';
$camera_current_value = pg_fetch_row(pg_query($database, "select name, model, variation, serial_number, date_of_purchase, purchased_new, url, access_rights, raw_icc_profile, users, ignore_comment