roryg / ElementHelper

Element Helper is a MODx Revolution plugin for automatically creating elements from static files without the MODx manager.
27 stars 10 forks source link

Wrong variable reset #37

Open Zaborskih opened 9 years ago

Zaborskih commented 9 years ago

plugin.elementhelper.php line 95 should be $file_names = array();

instead of $file_name = array();

roryg commented 9 years ago

Thanks @Zaborskih, the master branch is actually quite old now though, you can find the latest code in the 2.0 branch. It's still unfinished but it's a major improvement over the old version. If you're interested you can read what's happening here - https://github.com/roryg/ElementHelper/issues/31