php - Strict Standards: Only variables should be passed by reference (qdig gallery) -
the code qdig gallery is:
$excl_imgs[] = end($logo_arrray = explode('/', $header['css_logo_url'])); $excl_imgs[] = end($bg_img_array = explode('/', $header['css_bg_img_url']));
which gives above error (strict standards).
how fix this?
do instead , error should go away:
$logo_arrray = explode('/', $header['css_logo_url']); $bg_img_array = explode('/', $header['css_bg_img_url']); $excl_imgs[] = end($logo_arrray); $excl_imgs[] = end($bg_img_array);
you should try , fix strict standards warning , not hide them.
Comments
Post a Comment