aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SemanticScuttle/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/functions.php b/src/SemanticScuttle/functions.php
index 145600a..d21a094 100644
--- a/src/SemanticScuttle/functions.php
+++ b/src/SemanticScuttle/functions.php
@@ -49,7 +49,7 @@ function getSortOrder($override = NULL) {
global $defaultOrderBy;
if (isset($_GET['sort'])) {
- return preg_replace('/[^a-z]/', '', $_GET['sort']);
+ return preg_replace('/[^a-z_]/', '', $_GET['sort']);
} else if (isset($override)) {
return $override;
} else {