From 27257de995f6d2da0a180cbd20a06614deee2b33 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 17 Jul 2017 19:57:25 -0700 Subject: fix typo --- include/photos.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/photos.php') diff --git a/include/photos.php b/include/photos.php index b4cc89502..46b833531 100644 --- a/include/photos.php +++ b/include/photos.php @@ -598,9 +598,10 @@ function photos_album_exists($channel_id, $observer_hash, $album) { if(! $r) { $r = q("SELECT folder, hash, is_dir, filename, os_path, display_path FROM attach WHERE filename = '%s' AND is_dir = 1 AND uid = %d $sql_extra limit 1", - dbesc(hex2bin($album)), - intval($channel_id) - ); + dbesc(hex2bin($album)), + intval($channel_id) + ); + } return (($r) ? $r[0] : false); } -- cgit v1.2.3