Fixed unclosed {foreach}  error

Not sure if its a problem with Smarty3 in Piwigo 2.6.0RC2 or the error was always there but because of this extra space it wasn't compiling.
Merge pull request #7 from jimaek/master

Fixed unclosed {foreach}  error