* Added int-casting to str_repeat() to prevent PHP notice
Fixes #170 hopefully
This commit is contained in:
parent
6b87d2bf95
commit
e1ba0bef7b
|
@ -1,5 +1,6 @@
|
|||
TODO:
|
||||
|
||||
|
||||
* Collect all tweets of a day/week/whatever of the blog owner
|
||||
into one article and publish it dayly/weekly/whatever
|
||||
* "check tweetback" link should add new tweetbacks immediately
|
||||
|
@ -8,6 +9,10 @@ TODO:
|
|||
* Twitter announcements/credentials etc. per author instead of
|
||||
only per central blog
|
||||
|
||||
1.61
|
||||
--------------------------
|
||||
* Added int-casting to str_repeat() to prevent PHP notice
|
||||
|
||||
1.60
|
||||
--------------------------
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
|
||||
// Actual version of both plugins
|
||||
@define('PLUGIN_TWITTER_VERSION', '1.60');
|
||||
@define('PLUGIN_TWITTER_VERSION', '1.61');
|
||||
|
|
|
@ -2021,8 +2021,8 @@ a.twitter_update_time {
|
|||
|
||||
// Create strings of twitter URL length:
|
||||
$this->twitter_check_config();
|
||||
$http_length_str = str_repeat("=", $this->get_config('twitter_config_http_len'));
|
||||
$https_length_str = str_repeat("=", $this->get_config('twitter_config_https_len'));
|
||||
$http_length_str = str_repeat("=", (int)$this->get_config('twitter_config_http_len'));
|
||||
$https_length_str = str_repeat("=", (int)$this->get_config('twitter_config_https_len'));
|
||||
|
||||
// Hide shorten url input, if no url shorter is used!
|
||||
if ('raw' == $this->get_config('anounce_url_service','7ax.de')) {
|
||||
|
|
Loading…
Reference in a new issue