aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connect.php3
-rw-r--r--version.inc2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/connect.php b/mod/connect.php
index 5b1f258ad..396fca645 100644
--- a/mod/connect.php
+++ b/mod/connect.php
@@ -38,7 +38,8 @@ function connect_post(&$a) {
$text = escape_tags($_POST['text']);
if($has_premium != $premium) {
- $r = q("update channel set channel_pageflags = ( channel_pageflags & ~%d ) where channel_id = %d",
+ $r = q("update channel set channel_pageflags = ( channel_pageflags %s %d ) where channel_id = %d",
+ db_getfunc('^'),
intval(PAGE_PREMIUM),
intval(local_user())
);
diff --git a/version.inc b/version.inc
index b6da826d4..1e5a4b8a8 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-11-24.869
+2014-11-26.871