Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#150 Error : Search found no matching entries

open
nobody
None
5
2011-07-20
2011-07-20
Anonymous
No

In IPPlan version 6 beta 3, some error occured on the result page when no matching entries are found:
Unknown error type: [2] natsort() [function.natsort]: The argument should be an array Line: 380 File: /var/www/ipplanv6b3/ipplanlib.php
Unknown error type: [2] Invalid argument supplied for foreach() Line: 382 File: /var/www/ipplanv6b3/ipplanlib.php

This bug can be fixed by changing the file ipplanlib.php:

line 380
natsort($array1);
--> if (is_array($array1)) natsort($array1);

line 382
foreach($array1 as $key2=>$val2) {
--> foreach((array)$array1 as $key2=>$val2) {

Hope this will help.

Discussion