diff options
author | Friendika <info@friendika.com> | 2010-11-09 18:24:35 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-09 18:24:35 -0800 |
commit | f4fd67992812c5c356ff51e875077921a2222d90 (patch) | |
tree | 0ca3e25a5760c3d9d1598bca716f24767fe234fa /include/Photo.php | |
parent | 70bcf000e3662266df8683d57269a0b75af60330 (diff) | |
download | volse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.tar.gz volse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.tar.bz2 volse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.zip |
couple of issues w/ profile photo update propogation
Diffstat (limited to 'include/Photo.php')
-rw-r--r-- | include/Photo.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/Photo.php b/include/Photo.php index 98b11ab39..9934b9a39 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -175,8 +175,7 @@ class Photo { - public function store($uid, $cid, $rid, $filename, $album, $scale, - $profile = 0, $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '') { + public function store($uid, $cid, $rid, $filename, $album, $scale, $profile = 0, $allow_cid = '', $allow_gid = '', $deny_cid = '', $deny_gid = '') { $r = q("INSERT INTO `photo` ( `uid`, `contact-id`, `resource-id`, `created`, `edited`, `filename`, `album`, `height`, `width`, `data`, `scale`, `profile`, `allow_cid`, `allow_gid`, `deny_cid`, `deny_gid` ) @@ -188,9 +187,9 @@ class Photo { dbesc(datetime_convert()), dbesc(basename($filename)), dbesc($album), - intval($this->height), - intval($this->width), - dbesc($this->imageString()), + intval($this->height), + intval($this->width), + dbesc($this->imageString()), intval($scale), intval($profile), dbesc($allow_cid), |