diff options
author | friendica <info@friendica.com> | 2012-12-06 15:52:37 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-06 15:52:37 -0800 |
commit | 6ed27f9503d62b5c97e22318689b2584320feaec (patch) | |
tree | 6b766cd170064c33af9b6039400d2f2c1ea60834 /include/Photo.php | |
parent | 7d1610197d7eaf5c97d34ebbe777a0a475da38de (diff) | |
download | volse-hubzilla-6ed27f9503d62b5c97e22318689b2584320feaec.tar.gz volse-hubzilla-6ed27f9503d62b5c97e22318689b2584320feaec.tar.bz2 volse-hubzilla-6ed27f9503d62b5c97e22318689b2584320feaec.zip |
contact photo issues
Diffstat (limited to 'include/Photo.php')
-rw-r--r-- | include/Photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Photo.php b/include/Photo.php index f77605b98..c3165cc9f 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -528,7 +528,7 @@ class Photo { $x = q("select id from photo where `resource_id` = '%s' and uid = %d and `xchan` = '%s' and `scale` = %d limit 1", dbesc($rid), intval($uid), - intval($xchan), + dbesc($xchan), intval($scale) ); if(count($x)) { |