Bug in Twitter-Plugin v1.20

Creating and modifying plugins.
Post Reply
thh
Regular
Posts: 419
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Bug in Twitter-Plugin v1.20

Post by thh »

After installing v1.20 of the Twitter plugin, I got an error message:
Parse error: syntax error, unexpected '{' in [...]plugins/serendipity_plugin_twitter/serendipity_event_twitter.php on line 707
Looks like a typo, the following patch fixed it:

Code: Select all

--- serendipity_event_twitter.php       2010-06-13 15:33:53.579763917 +0200
+++ serendipity_event_twitter.php.OLD   2010-06-13 15:34:04.675607276 +0200
@@ -704,7 +704,7 @@
                     return true;
                     
                 case 'backend_display':
-                    if (!serendipity_db_bool($this->get_config('announce_articles'))) {
+                    if (!serendipity_db_bool($this->get_config('announce_articles')) {
                         return true;
                     }
(There's nothing like a bug tracker or the like for s9y, is there?)

Regards,
-thh
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bug in Twitter-Plugin v1.20

Post by garvinhicking »

Hi!

Thanks a lot! Sorry for the error, I've fixed it per your suggestion.

On sf.net/projects/php-blog we do have a bug tracker, but here on the forum is also okay...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply