Fixed bug in php code for tags.txt.erb