[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1728] backslashes weren' t removed when someone switc
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1728] backslashes weren' t removed when someone switched the double quotes to single quotes |
Date: |
Thu, 21 May 2009 02:19:03 +0000 |
Revision: 1728
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1728
Author: clint
Date: 2009-05-21 02:19:02 +0000 (Thu, 21 May 2009)
Log Message:
-----------
backslashes weren't removed when someone switched the double quotes to single
quotes
Modified Paths:
--------------
trunk/nixtape/data/Server.php
Modified: trunk/nixtape/data/Server.php
===================================================================
--- trunk/nixtape/data/Server.php 2009-05-21 02:05:18 UTC (rev 1727)
+++ trunk/nixtape/data/Server.php 2009-05-21 02:19:02 UTC (rev 1728)
@@ -240,11 +240,11 @@
$row = sanitize($i);
// this logic should be cleaned up and the free/nonfree
decision be moved into the smarty templates
if($row['name'] == '') {
- $clientstr =
strip_tags(stripslashes($row['client'])) . ' (unknown, <a
href=\"http://ideas.libre.fm/index.php/Client_Codes\">please tell us what this
is</a>)';
+ $clientstr =
strip_tags(stripslashes($row['client'])) . ' (unknown, <a
href="http://ideas.libre.fm/index.php/Client_Codes">please tell us what this
is</a>)';
} elseif($row["free"] == "Y") {
- $clientstr = '<a href=\"' .
strip_tags(stripslashes($row['url'])) . '\">' .
strip_tags(stripslashes($row['name'])) . '</a>';
+ $clientstr = '<a href="' .
strip_tags(stripslashes($row['url'])) . '">' .
strip_tags(stripslashes($row['name'])) . '</a>';
} else {
- $clientstr = '<a
href=\"http://en.wikipedia.org/wiki/Category:Free_media_players\">' .
strip_tags(stripslashes($row['name'])) . '</a>';
+ $clientstr = '<a
href="http://en.wikipedia.org/wiki/Category:Free_media_players">' .
strip_tags(stripslashes($row['name'])) . '</a>';
}
$row['clientstr'] = $clientstr;
$row['userurl'] = Server::getUserURL($row['username']);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1728] backslashes weren' t removed when someone switched the double quotes to single quotes,
Clint Adams <=