Update needlessimage.php

Made compatible with Opencart 1.4.9.X