diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-06-23 10:14:13 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-06-23 10:14:13 +0200 |
commit | 39b14b6b811ec65f8c8a812397f9ee04877cd53d (patch) | |
tree | 1f122a63a4f44aed278a54fab803706d77946997 /Zotlabs/Module/Photo.php | |
parent | 5536df51f58a65f5a42051b0466b1c13c9a9718a (diff) | |
parent | ac81a3a5effe51b82310bbd831dec06e7914e649 (diff) | |
download | volse-hubzilla-39b14b6b811ec65f8c8a812397f9ee04877cd53d.tar.gz volse-hubzilla-39b14b6b811ec65f8c8a812397f9ee04877cd53d.tar.bz2 volse-hubzilla-39b14b6b811ec65f8c8a812397f9ee04877cd53d.zip |
Merge branch 'dev' into sabre32
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r-- | Zotlabs/Module/Photo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 92c9ac3c0..5148c4a94 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -62,7 +62,7 @@ class Photo extends \Zotlabs\Web\Controller { intval($uid), intval(PHOTO_PROFILE) ); - if(count($r)) { + if($r) { $data = dbunescbin($r[0]['content']); $mimetype = $r[0]['mimetype']; } @@ -79,7 +79,7 @@ class Photo extends \Zotlabs\Web\Controller { * Other photos */ - /* Check for a cookie to indicate display pixel density, in order to detect high-resolution + /* Check for a cookie to indicate display pixel density, in order to detect high-resolution displays. This procedure was derived from the "Retina Images" by Jeremey Worboys, used in accordance with the Creative Commons Attribution 3.0 Unported License. Project link: https://github.com/Retina-Images/Retina-Images |