Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Traced the inReplyTo problem to that bloody array_key_exists problem.…

… Replaced it with a call to empty(). TODO: Write test for twitter syndication which uses an object
  • Loading branch information...
commit 4d1027fd16fb50c1df951667339dfa72cbd22d21 1 parent de30ed7
Barnaby Walters authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  BarnabyWalters/Posse/EventListener/TwitterSyndicator.php
2  BarnabyWalters/Posse/EventListener/TwitterSyndicator.php
View
@@ -238,7 +238,7 @@ public function syndicateToTwitter(Event $event) {
$content = self::summariseObject($object);
$url = $object['url'];
- if (array_key_exists('inReplyTo', $object))
+ if (!empty($object['inReplyTo']))
$inReplyTo = $object['inReplyTo'];
else
$inReplyTo = null;
Please sign in to comment.
Something went wrong with that request. Please try again.