! fix for #1343 array_replace is a php 5.3 function

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #1346 from Spuds/b2withsauce

Fix or array_replace error in < 5.3