static php5 fix

This commit is contained in:
Garvin Hicking 2013-05-10 10:54:22 +02:00
parent 98378026a6
commit a642b8e980
3 changed files with 6 additions and 2 deletions

View file

@ -8,6 +8,10 @@ TODO:
* Twitter announcements/credentials etc. per author instead of
only per central blog
1.48
-----
* Static PHP5 fixes
1.47 (brockhaus)
--------------------------
* Added API token functionality for announcing articles via pirat.ly.

View file

@ -1,4 +1,4 @@
<?php
// Actual version of both plugins
@define('PLUGIN_TWITTER_VERSION', '1.47');
@define('PLUGIN_TWITTER_VERSION', '1.48');

View file

@ -1034,7 +1034,7 @@ class serendipity_event_twitter extends serendipity_plugin {
}
function twitteroalog($cmd) {
static function twitteroalog($cmd) {
static $debug = false;
global $serendipity;