|
From: <var...@us...> - 2017-05-30 15:41:37
|
Revision: 10018
http://sourceforge.net/p/phpwiki/code/10018
Author: vargenau
Date: 2017-05-30 15:41:35 +0000 (Tue, 30 May 2017)
Log Message:
-----------
Fix PHP syntax
Modified Paths:
--------------
trunk/lib/stdlib.php
Modified: trunk/lib/stdlib.php
===================================================================
--- trunk/lib/stdlib.php 2017-05-30 14:55:08 UTC (rev 10017)
+++ trunk/lib/stdlib.php 2017-05-30 15:41:35 UTC (rev 10018)
@@ -382,7 +382,7 @@
{
// FIXME: Is this needed (or sufficient?)
if (!IsSafeURL($url)) {
- $link = HTML::span(array('class' => 'error'), _('Bad URL').' -- '._('Remove all of <, >, "');
+ $link = HTML::span(array('class' => 'error'), _('Bad URL').' -- '._('Remove all of <, >, "'));
return $link;
} else {
if (!$linktext)
@@ -420,7 +420,7 @@
$arr = explode(' ', $url);
if (!empty($arr)) $url = $arr[0];
if (!IsSafeURL($url)) {
- $link = HTML::span(array('class' => 'error'), _('Bad URL for image').' -- '._('Remove all of <, >, "');
+ $link = HTML::span(array('class' => 'error'), _('Bad URL for image').' -- '._('Remove all of <, >, "'));
return $link;
}
// spaces in inline images must be %20 encoded!
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|