set_pref: fix typo

This commit is contained in:
Andrew Dolgov 2010-01-13 21:33:31 +03:00
parent f9aa6a898f
commit b12427977e

View file

@ -93,7 +93,7 @@
if ($profile) { if ($profile) {
$profile_qpart = "AND profile = '$profile'"; $profile_qpart = "AND profile = '$profile'";
} else { } else {
$profile_qpart = "AND profile IS NULL AND"; $profile_qpart = "AND profile IS NULL";
} }
if (get_schema_version($link) < 63) $profile_qpart = ""; if (get_schema_version($link) < 63) $profile_qpart = "";