Skip to content

Commit d9253e4

Browse files
committed
Merge branch 'fixes/0.24' of git://github.com/MythTV/mythweb into jjohns63/fixes/0.24
2 parents 7d712e6 + 946deb7 commit d9253e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/utils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function setting($field, $hostname=null, $new_value = "old\0old", $clearSettings
5555
// connected to the backend, the only known instance is in db_update.php
5656
// and those settings don't affect anything but MythWeb.
5757
if ($clearSettingsCache)
58-
MythBackend::find()->sendCommand('CLEAR_SETTINGS_CACHE');
58+
MythBackend::find()->sendCommand(array('MESSAGE', 'CLEAR_SETTINGS_CACHE'));
5959
}
6060
// Not cached?
6161
elseif (!array_key_exists($field, $cache[$h])) {

js/table_sort.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ var SortableTable = Class.create({
169169
sort_function = 'sortDate';
170170
else if (value.match(/^\W+ \d+$/))
171171
sort_function = 'sortMonthDay';
172-
else if (value.match(/^[\d\.]+[%]*$/))
172+
else if (value.match(/^[-]?[\d\.]+[%]*$/))
173173
sort_function = 'sortNumeric';
174174
else if (value.match(/^[£$]/))
175175
sort_function = 'sortCurrency';

0 commit comments

Comments
 (0)