aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-25 02:08:15 -0700
committerFriendika <info@friendika.com>2011-05-25 02:08:15 -0700
commit2a679b1164207ee983a26cb6d06fef10d4b81bb0 (patch)
tree063986ed6d18ab70aaa2483d5ec6104fe0cf5359 /boot.php
parentde482058b8cba64448e690b97b36e8e2877d6e17 (diff)
downloadvolse-hubzilla-2a679b1164207ee983a26cb6d06fef10d4b81bb0.tar.gz
volse-hubzilla-2a679b1164207ee983a26cb6d06fef10d4b81bb0.tar.bz2
volse-hubzilla-2a679b1164207ee983a26cb6d06fef10d4b81bb0.zip
file attachments
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/boot.php b/boot.php
index 491c182fa..25c7fd14d 100644
--- a/boot.php
+++ b/boot.php
@@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
define ( 'FRIENDIKA_VERSION', '2.2.990' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
-define ( 'DB_UPDATE_VERSION', 1057 );
+define ( 'DB_UPDATE_VERSION', 1058 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
@@ -1983,15 +1983,15 @@ function get_tags($s) {
$s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s);
if(preg_match_all('/([@#][^ \x0D\x0A,:?]+)([ \x0D\x0A,:?]|$)/',$s,$match)) {
- foreach($match[1] as $match) {
- if(strstr($match,"]")) {
+ foreach($match[1] as $mtch) {
+ if(strstr($mtch,"]")) {
// we might be inside a bbcode color tag - leave it alone
continue;
}
- if(substr($match,-1,1) === '.')
- $ret[] = substr($match,0,-1);
+ if(substr($mtch,-1,1) === '.')
+ $ret[] = substr($mtch,0,-1);
else
- $ret[] = $match;
+ $ret[] = $mtch;
}
}