]> git.mxchange.org Git - friendica.git/blobdiff - mod/message.php
A little more french translation.
[friendica.git] / mod / message.php
index c004b3d63b4ec29f34b85a6a0899769ce75963dc..ef3be2c5e9cd05a7e5e7a89cff96c1c480c16bfc 100644 (file)
@@ -87,10 +87,11 @@ function message_post(&$a) {
                                $image_uri = substr($image,strrpos($image,'/') + 1);
                                $image_uri = substr($image_uri,0, strpos($image_uri,'-'));
                                $r = q("UPDATE `photo` SET `allow_cid` = '%s'
-                                       WHERE `resource-id` = '%s' AND `album` = '%s' ",
+                                       WHERE `resource-id` = '%s' AND `album` = '%s' AND `uid` = %d ",
                                        dbesc('<' . $recipient . '>'),
                                        dbesc($image_uri),
-                                       dbesc( t('Wall Photos'))
+                                       dbesc( t('Wall Photos')),
+                                       intval(local_user())
                                ); 
                        }
                }