Fix MySQLi issue on OpenCart 1.5.4x and below