summaryrefslogtreecommitdiff
path: root/inc/feedcreator.class.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2015-05-16 12:50:37 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2015-05-16 12:50:37 +0200
commit4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612 (patch)
tree9bef255b6a29a64af9d27ce02a8feb04f2441fd8 /inc/feedcreator.class.php
parent8381d1c12c09df8fe72bac997487210bf08b8e5f (diff)
downloadrpg-4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612.tar.gz
rpg-4a0a77adb7e7e218beb1e58d7b0ef3ae17f4a612.tar.bz2
var declaration, static declaration
Diffstat (limited to 'inc/feedcreator.class.php')
-rw-r--r--inc/feedcreator.class.php4
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;
}