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.