fix var dir to dirs

In search_albums variable declared as dir should have been dirs
thanks to redcat http://www.pluck-cms.org/smf/index.php?topic=17.msg92#msg92