Fix moronic typo in query
This commit is contained in:
parent
aed032e0e5
commit
a5245c413f
@ -315,8 +315,8 @@ sub get_recipe {
|
|||||||
my $query = "SELECT `r`.*,
|
my $query = "SELECT `r`.*,
|
||||||
`s`.`name` AS `status`,
|
`s`.`name` AS `status`,
|
||||||
`t`.`name` AS `type`,
|
`t`.`name` AS `type`,
|
||||||
`c`.`username` AS `creatoruser`, `c`,`realname` AS `creatorname`
|
`c`.`username` AS `creatoruser`, `c`.`realname` AS `creatorname`,
|
||||||
`u`.`username` AS `updateuser`, `u`,`realname` AS `updatename`
|
`u`.`username` AS `updateuser`, `u`.`realname` AS `updatename`
|
||||||
FROM `".$self -> {"settings"} -> {"database"} -> {"recipes"}."` AS `r`
|
FROM `".$self -> {"settings"} -> {"database"} -> {"recipes"}."` AS `r`
|
||||||
LEFT JOIN `".$self -> {"settings"} -> {"database"} -> {"states"}."` AS `s`
|
LEFT JOIN `".$self -> {"settings"} -> {"database"} -> {"states"}."` AS `s`
|
||||||
ON `s`.`id` = `r`.`status_id`
|
ON `s`.`id` = `r`.`status_id`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user