aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 19:39:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 19:39:33 +0000
commit58015438b8253783276dd89581cb6b34d87e6cb4 (patch)
tree062f9296d2498380cc9eac1491270da2090210e9 /engine/lib
parent88cb569fa0c4669ca928448facfaded32b8c8cf4 (diff)
downloadelgg-58015438b8253783276dd89581cb6b34d87e6cb4.tar.gz
elgg-58015438b8253783276dd89581cb6b34d87e6cb4.tar.bz2
Copied explaination for weird str_replace() in get_river_items() to the same call in elgg_get_river_items_new() so I stay sane.
git-svn-id: http://code.elgg.org/elgg/trunk@6187 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/river.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 6e1f4414f..212eccaef 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -323,6 +323,7 @@ function elgg_get_river_items($subject_guid = 0, $object_guid = 0, $subject_rela
// Construct 'where' clauses for the river
$where = array();
+ // river table does not have columns expected by get_access_sql_suffix so we modify its output
$where[] = str_replace("and enabled='yes'",'',str_replace('owner_guid','subject_guid',get_access_sql_suffix_new('er','e')));
if (empty($subject_relationship)) {