aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photo.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-23 10:14:13 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-23 10:14:13 +0200
commit39b14b6b811ec65f8c8a812397f9ee04877cd53d (patch)
tree1f122a63a4f44aed278a54fab803706d77946997 /Zotlabs/Module/Photo.php
parent5536df51f58a65f5a42051b0466b1c13c9a9718a (diff)
parentac81a3a5effe51b82310bbd831dec06e7914e649 (diff)
downloadvolse-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.php4
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