summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db-prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-prefs.php b/db-prefs.php
index 5c54427b7..bc0478512 100644
--- a/db-prefs.php
+++ b/db-prefs.php
@@ -93,7 +93,7 @@
if ($profile) {
$profile_qpart = "AND profile = '$profile'";
} else {
- $profile_qpart = "AND profile IS NULL AND";
+ $profile_qpart = "AND profile IS NULL";
}
if (get_schema_version($link) < 63) $profile_qpart = "";