From f4fd67992812c5c356ff51e875077921a2222d90 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 9 Nov 2010 18:24:35 -0800 Subject: couple of issues w/ profile photo update propogation --- include/Photo.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/Photo.php') 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), -- cgit v1.2.3