Empty commit

This commit is contained in:
Git 2012-09-28 08:00:21 +00:00
parent f7a082a4a6
commit 564a9c9faf
3 changed files with 2 additions and 4 deletions

View File

@ -118,6 +118,7 @@ public function escape_string($String) {
'<'=>'\\\\<', '<'=>'\\\\<',
'!'=>'\\\\!', '!'=>'\\\\!',
'"'=>'\\\\"', '"'=>'\\\\"',
'/'=>'\\\\/',
'\\'=>'\\\\\\\\') '\\'=>'\\\\\\\\')
); );
} }

BIN
ocelot-0.5.tar.bz2 Normal file

Binary file not shown.

View File

@ -128,7 +128,7 @@ function header_link($SortKey,$DefaultWay="desc") {
// Collect all entered search terms to find out whether to enable the NOT operator // Collect all entered search terms to find out whether to enable the NOT operator
foreach(array('artistname','groupname', 'recordlabel', 'cataloguenumber', foreach(array('artistname','groupname', 'recordlabel', 'cataloguenumber',
'remastertitle', 'remasteryear', 'remasterrecordlabel', 'remastercataloguenumber', 'remastertitle', 'remasteryear', 'remasterrecordlabel', 'remastercataloguenumber',
'format', 'media', 'taglist') as $Search) { 'encoding', 'format', 'media', 'taglist') as $Search) {
if(!empty($_GET[$Search])) { if(!empty($_GET[$Search])) {
$SearchString = trim($_GET[$Search]); $SearchString = trim($_GET[$Search]);
if($SearchString != '') { if($SearchString != '') {
@ -291,9 +291,6 @@ function header_link($SortKey,$DefaultWay="desc") {
} }
} }
} }
if(!empty($_GET['encoding'])) {
$Queries[]='@encoding "'.$SS->EscapeString(strtr($_GET['encoding'], '.', ' ')).'"'; // Conversion from period to space is necessary due to a sphinx limitation/bug
}
if(isset($_GET['haslog']) && $_GET['haslog']!=='') { if(isset($_GET['haslog']) && $_GET['haslog']!=='') {
if($_GET['haslog'] == 100) { if($_GET['haslog'] == 100) {