1. 程式人生 > >ecshop二次開發: Only variables should be passed by reference in的解決

ecshop二次開發: Only variables should be passed by reference in的解決

//$tag_sel = array_shift(explode(' ', $tag));

把上面的改為如下兩行即可:

            $tag_arr=explode('',$tag);

            $tag_sel = array_shift($tag_arr);