aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-28 20:03:11 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-28 20:03:11 -0700
commit8d5556764c8472184365a9377bb40c55e97de5ae (patch)
treeb752055f6cca85b10f58db22f07edde1e2a52f6f /mod/channel.php
parentf965209eee06b3affbd3165e6c165e02f76bcabd (diff)
downloadvolse-hubzilla-8d5556764c8472184365a9377bb40c55e97de5ae.tar.gz
volse-hubzilla-8d5556764c8472184365a9377bb40c55e97de5ae.tar.bz2
volse-hubzilla-8d5556764c8472184365a9377bb40c55e97de5ae.zip
add one more level of parentheses to ensure operator precedence is correctly evaluated
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/channel.php b/mod/channel.php
index f582eaf75..6a6b35d46 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -161,7 +161,7 @@ function channel_content(&$a, $update = 0, $load = false) {
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) ";
if($load)
$simple_update = '';
-
+dbg(1);
if(($update) && (! $load)) {
if ($mid) {
$r = q("SELECT parent AS item_id from item where mid like '%s' and uid = %d $item_normal
@@ -259,7 +259,7 @@ function channel_content(&$a, $update = 0, $load = false) {
}
-
+dbg(0);
if((! $update) && (! $load)) {