phpmongodb / phpmongodb-1

http://www.phpmongodb.org
GNU General Public License v3.0
82 stars 39 forks source link

[fix] arrayToString in /system/Cryptography #2

Open toofff opened 10 years ago

toofff commented 10 years ago

Hello,

When viewing a db I had an error on the method in the Cryptography arrayToString file.

If the "$array" was empty then the foreach give me an error. With a condition to check if the "$array" is a array then there is no problem with the foreach.

phpmongodb commented 10 years ago

Hi Toofff, Thanks for using phpmongodb and giving the feedback !!!

Can you please share the sample DB backup , so that I can replicate the issue you are facing ?

-thanks