mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Dynamic modals: codesmell
This commit is contained in:
5
ajax.php
5
ajax.php
@@ -332,8 +332,9 @@ if (isset($_GET['quote_get_json_details'])) {
|
||||
$category_sql = mysqli_query(
|
||||
$mysqli,
|
||||
"SELECT category_id, category_name FROM categories
|
||||
WHERE category_type = 'Income' AND (category_archived_at > '$quote_created_at' OR category_archived_at IS NULL)
|
||||
ORDER BY category_name");
|
||||
WHERE category_type = 'Income' AND (category_archived_at > '$quote_created_at' OR category_archived_at IS NULL)
|
||||
ORDER BY category_name"
|
||||
);
|
||||
|
||||
while ($row = mysqli_fetch_array($category_sql)) {
|
||||
$response['categories'][] = $row;
|
||||
|
||||
Reference in New Issue
Block a user