Skip to content

Commit

Permalink
needed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannon committed Jun 16, 2024
1 parent c6463ac commit a7d7643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion category_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function updateIconBlob($catId, $iconData, $iconMimeType) {
if (!dbi_execute(
'DELETE FROM webcal_entry_categories
WHERE cat_id = ? AND ( cat_owner = ?'
. ($is_admin ? ' OR cat_owner = '' )' : ' )'),
. ($is_admin ? ' OR cat_owner = "" )' : ' )'),
[$id, $login]
)) {
$error = db_error();
Expand Down

0 comments on commit a7d7643

Please sign in to comment.