aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-17 19:57:25 -0700
committerzotlabs <mike@macgirvin.com>2017-07-17 19:57:25 -0700
commit27257de995f6d2da0a180cbd20a06614deee2b33 (patch)
tree40e4117d4166839a2a2861e58217b223b0982462
parent0d062251b6c38a71932e9875cdd777afdfff140b (diff)
downloadvolse-hubzilla-27257de995f6d2da0a180cbd20a06614deee2b33.tar.gz
volse-hubzilla-27257de995f6d2da0a180cbd20a06614deee2b33.tar.bz2
volse-hubzilla-27257de995f6d2da0a180cbd20a06614deee2b33.zip
fix typo
-rw-r--r--include/photos.php7
1 files changed, 4 insertions, 3 deletions
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);
}