dpolishuk/droidactivator

Showing error when click on events link from activation record

GoogleCodeExporter opened this issue · 1 comments

What steps will reproduce the problem?
1. Click on events link from activation record.
2. Shows error

What is the expected output? What do you see instead?
Expected to see events instead get error.

What version of the product are you using? On what operating system?
latest. CentOS on Amazon EC2 Apache 2, PHP 5

Please provide any additional information below.

change controller.php line 180

From: for ($map = array(); $tmp = $result->fetch_array(MYSQLI_ASSOC);) $map[] = 
$tmp; //Php 5+
To: if($result) {
        for ($map = array(); $tmp = $result->fetch_array(MYSQLI_ASSOC);) $map[] = $tmp; //Php 5+
      }else{
        $map = array();
      }

Original issue reported on code.google.com by dustin.n...@gmail.com on 29 Sep 2012 at 5:05

Although this bug is not reproducible in our configuration, controller.php line 
180 has been protected from failure as suggested.

Original comment by alex.va...@gmail.com on 16 Oct 2012 at 4:10

  • Changed state: Fixed