Undefined index: perms

Issue #61 resolved
Michael Mathews created an issue

Originally reported on Google Code with ID 61 ``` My Apache error log has lots of these:

PHP Notice: Undefined index: perms in phpliteadmin.php on line 1718, referer: phpliteadmin.php

The undefined "perms" index does not seem to be a problem, but my error logs are filling up with this notice whenever I use phpliteadmin.

Suggest:

```php if (isset($databases[$i]['perms'])) echo $databases[$i]['perms']; ``` ```

Reported by `micmath` on 2011-10-10 14:50:34

Comments (3)

  1. Dane Iracleous

    ``` Yes, this was brought up before, and I think in the next release, we will make an effort to check that variables have been set before trying to use them. For now, this problem isn't severe though. ```

    Reported by `diracleo` on 2011-10-14 07:56:05

  2. Former user Account Deleted

    ``` Hi,

    It is not sever but it fills log files. In my case, it is show on screen : I display notices for me to avoid missing mistakes like this one. I a trying to use PhpLiteAdmin with the Phalanger project (http://www.php-compiler.net/)...

    Hope it will be fixed :) Thanks ```

    Reported by `maitredede` on 2012-06-01 14:17:26

  3. Dane Iracleous

    ``` Fixed in v1.9.3 ```

    Reported by `diracleo` on 2012-06-02 10:10:00 - Status changed: `Fixed`

  4. Log in to comment