summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-13 21:33:31 +0300
committerAndrew Dolgov <[email protected]>2010-01-13 21:33:31 +0300
commitb12427977eb84a5086e1cb7df3f162618429b569 (patch)
tree9b7b3a42efb968edbde55ef55dd04d9b7725ab75
parentf9aa6a898f67b7ce259ec942c8effd8ae2ada1df (diff)
set_pref: fix typo
-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 = "";