fixed the 'get_cupboards_as_array
This commit is contained in:
parent
0283fb1bc5
commit
346f9c6743
@ -297,7 +297,7 @@ function get_users_cupboards_array()
|
||||
|
||||
$sql = "SELECT
|
||||
id, name, description, public_id
|
||||
FROM products WHERE owner_id = :owner_id;";
|
||||
FROM cupboards WHERE owner_id = :owner_id;";
|
||||
|
||||
$query = $PDO->prepare($sql);
|
||||
$query->bindValue(":owner_id", get_user_info_from_session_id("id"));
|
||||
|
Loading…
Reference in New Issue
Block a user