From d0f50792dd487b1f58018068e48072429511b0fb Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 8 Jan 2024 17:02:50 +1100 Subject: [PATCH] fix photo title on edit (was using description) --- Code/Module/Photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Module/Photos.php b/Code/Module/Photos.php index 5d47cc374..4f28c493f 100644 --- a/Code/Module/Photos.php +++ b/Code/Module/Photos.php @@ -455,7 +455,7 @@ class Photos extends Controller dbesc($perm['allow_gid']), dbesc($perm['deny_cid']), dbesc($perm['deny_gid']), - dbesc(($desc) ? $desc : $p[0]['filename']), + dbesc(($title) ? $title : ''), dbesc($obj), dbesc($body . $footer_text), dbesc(datetime_convert()),