diff options
author | Sem <sembrestels@riseup.net> | 2012-07-01 23:20:47 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-01 23:20:47 +0200 |
commit | 671f9ba4e1b1972d8eaf22acfb626fa2c85af0f2 (patch) | |
tree | 436b0de846650bce13436b51a2d5214224f8898c /engine/lib/river.php | |
parent | 3da3f2aa28a42c23bdc9d661e7e13fd6f2bd2b10 (diff) | |
parent | b91d8bb0fea5cef9fafea72181a0007cfaa54725 (diff) | |
download | elgg-671f9ba4e1b1972d8eaf22acfb626fa2c85af0f2.tar.gz elgg-671f9ba4e1b1972d8eaf22acfb626fa2c85af0f2.tar.bz2 |
Upgraded to Elgg 1.8.6.
Merge tag '1.8.6' of git://github.com/Elgg/Elgg into lorea-preprod
Elgg 1.8.6 release
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r-- | engine/lib/river.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php index 547d9495e..711832f70 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -55,7 +55,7 @@ $posted = 0, $annotation_id = 0) { $posted = sanitise_int($posted); $annotation_id = sanitise_int($annotation_id); - $params = array( + $values = array( 'type' => $type, 'subtype' => $subtype, 'action_type' => $action_type, @@ -68,13 +68,13 @@ $posted = 0, $annotation_id = 0) { ); // return false to stop insert - $params = elgg_trigger_plugin_hook('creating', 'river', null, $params); - if ($params == false) { + $values = elgg_trigger_plugin_hook('creating', 'river', null, $values); + if ($values == false) { // inserting did not fail - it was just prevented return true; } - extract($params); + extract($values); // Attempt to save river item; return success status $id = insert_data("insert into {$CONFIG->dbprefix}river " . |