Fixed a mistake

array_shift first parameter must be an array