diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2015-05-16 12:50:37 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2015-05-16 12:50:37 +0200 |
commit | 4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612 (patch) | |
tree | 9bef255b6a29a64af9d27ce02a8feb04f2441fd8 /inc/feedcreator.class.php | |
parent | 8381d1c12c09df8fe72bac997487210bf08b8e5f (diff) | |
download | rpg-4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612.tar.gz rpg-4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612.tar.bz2 |
var declaration, static declaration
Diffstat (limited to 'inc/feedcreator.class.php')
-rw-r--r-- | inc/feedcreator.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/feedcreator.class.php b/inc/feedcreator.class.php index dd6da4465..fe444b39b 100644 --- a/inc/feedcreator.class.php +++ b/inc/feedcreator.class.php @@ -485,6 +485,8 @@ class FeedCreator extends HtmlDescribable { var $additionalElements = Array(); + var $_timeout; + /** * Adds an FeedItem to the feed. * @@ -508,7 +510,7 @@ class FeedCreator extends HtmlDescribable { * @param int $length the maximum length the string should be truncated to * @return string the truncated string */ - function iTrunc($string, $length) { + static function iTrunc($string, $length) { if (strlen($string)<=$length) { return $string; } |