Bug in the directory module


There is a bug in the new directory module.

If ther is 9 names in the list, the sytem doesn’t return the list.

You have to change the number 9 for the number 10 in the following line :

 if($matches > 1 && $matches < 9) <--- change the 9 for 10

Thank you


Answered in http://www.freepbx.org/forum/freepbx/users/how-to-get-back-the-old-directory-module