diff --git a/serendipity_event_gravatar/ChangeLog b/serendipity_event_gravatar/ChangeLog index 63eb4feb..08075e3a 100644 --- a/serendipity_event_gravatar/ChangeLog +++ b/serendipity_event_gravatar/ChangeLog @@ -1,5 +1,9 @@ # $Id: ChangeLog,v 1.45 2011/03/31 11:44:44 garvinhicking Exp $ +Version 1.55: (brockhaus) +------------------------------------------------------------------------ + * Twitter and identica where not fetched correctly if fetched first. + Version 1.54: ------------------------------------------------------------------------ * Made PLUGIN_GRAVATAR_SUPPORTED recognize %s as variable for diff --git a/serendipity_event_gravatar/serendipity_event_gravatar.php b/serendipity_event_gravatar/serendipity_event_gravatar.php index cc6eb84f..c5d19a04 100755 --- a/serendipity_event_gravatar/serendipity_event_gravatar.php +++ b/serendipity_event_gravatar/serendipity_event_gravatar.php @@ -14,7 +14,7 @@ if (file_exists($probelang)) { include dirname(__FILE__) . '/lang_en.inc.php'; // Actual version of this plugin -@define('PLUGIN_EVENT_GRAVATAR_VERSION', '1.53'); +@define('PLUGIN_EVENT_GRAVATAR_VERSION', '1.55'); // Defines the maximum available method slots in the configuration. @define('PLUGIN_EVENT_GRAVATAR_METHOD_MAX', 6); @@ -835,6 +835,8 @@ class serendipity_event_gravatar extends serendipity_event } function fetchTwitter(&$eventData) { + require_once S9Y_PEAR_PATH . 'HTTP/Request.php'; + // Was lastrun successfull? if (isset($this->avatarConfiguration['twitter_found']) && !$this->avatarConfiguration['twitter_found']) { return false; @@ -891,6 +893,8 @@ class serendipity_event_gravatar extends serendipity_event } function fetchIdentica(&$eventData) { + require_once S9Y_PEAR_PATH . 'HTTP/Request.php'; + // Was lastrun successfull? if (isset($this->avatarConfiguration['identica_found']) && !$this->avatarConfiguration['identica_found']) { return false;