1
0
Fork 0

better check for orig post author

This commit is contained in:
Friendika 2011-10-05 13:11:45 -07:00
parent 924d419378
commit d709225b68
2 changed files with 2 additions and 2 deletions

View file

@ -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 );

View file

@ -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'])
);