Permalink
Browse files

Merge pull request #13 from maxbeutel/upstream/undefined-linkResultsFlag

fixing undefined variable $linkResultsFlag
  • Loading branch information...
2 parents 3cbfc90 + 108bdc6 commit e7cd5da4b3ee0e7ab1ebf0c59e03ac127b50d514 @KevBurnsJr KevBurnsJr committed May 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 riak.php
View
@@ -367,6 +367,8 @@ function reduce($function, $options=array()) {
function run($timeout=NULL) {
$num_phases = count($this->phases);
+ $linkResultsFlag = FALSE;
+
# If there are no phases, then just echo the inputs back to the user.
if ($num_phases == 0) {
$this->reduce(array("riak_kv_mapreduce", "reduce_identity"));

0 comments on commit e7cd5da

Please sign in to comment.