aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-05 13:11:45 -0700
committerFriendika <info@friendika.com>2011-10-05 13:11:45 -0700
commitd709225b6832175a98a479ca550e6028e6eb5bd9 (patch)
treea329fa73589cc85638b779be3f1faa9c04a98cd4
parent924d4193789217dadbddf8e0dddb960a2988136c (diff)
downloadvolse-hubzilla-d709225b6832175a98a479ca550e6028e6eb5bd9.tar.gz
volse-hubzilla-d709225b6832175a98a479ca550e6028e6eb5bd9.tar.bz2
volse-hubzilla-d709225b6832175a98a479ca550e6028e6eb5bd9.zip
better check for orig post author
-rw-r--r--boot.php2
-rw-r--r--mod/dfrn_notify.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 65a1b8229..c9603f787 100644
--- a/boot.php
+++ b/boot.php
@@ -8,7 +8,7 @@ require_once("include/pgettext.php");
require_once('include/nav.php');
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
-define ( 'FRIENDIKA_VERSION', '2.3.1124' );
+define ( 'FRIENDIKA_VERSION', '2.3.1125' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1094 );
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 9e9809950..07de64160 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -453,7 +453,7 @@ function dfrn_notify_post(&$a) {
// was the top-level post for this reply written by somebody on this site? Specifically, the recipient?
- $r = q("select `id` from `item` where `uri` = '%s' AND `uid` = %d LIMIT 1",
+ $r = q("select `item`.`id` from `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` where `contact`.`self` = 1 AND `item`.`uri` = '%s' AND `item`.`uid` = %d LIMIT 1",
dbesc($parent_uri),
intval($importer['importer_uid'])
);