Fix for fatal in lib/SpotTemplateHelper.php:845
Fix for fatal in lib/SpotTemplateHelper.php:845

Can't use preg_replace return value in write context, now setting
preg_replace return value to variable and testing empty() on new
created variable

Conflicts:

	lib/SpotTemplateHelper.php

LeeThompson/spotweb,mbirth/spotweb,Spotweb/Spotweb,riksmith/Spotweb,mesa57/spotweb,isuftin/spotweb-1,rodikal/Spotweb,Blauwbek/spotweb,gijsroge/spotweb,the-darkvoid/spotweb,rodikal/Spotweb,riksmith/Spotweb,tswestendorp/spotweb,GeoffreyDijkstra/spotweb,LeeThompson/spotweb,Spotweb/Spotweb,Blauwbek/spotweb,mesa57/spotweb,GeoffreyDijkstra/spotweb,tswestendorp/spotweb,isuftin/spotweb-1,gijsroge/spotweb,Blauwbek/spotweb,mbirth/spotweb,the-darkvoid/spotweb