Код: Выделить всё
$this->redirect(array('/product/basket/view','id'=>$id));
то есть в строке адреса остаётся анкор прошлого адреса #9, хотя в массиве редиректа он не устанавливается.
Как можно избавиться от анкора при редиректе?
Код: Выделить всё
$this->redirect(array('/product/basket/view','id'=>$id));
Код: Выделить всё
header('Location: /product/basket/view');
Код: Выделить всё
<script language = 'javascript'>
document.location.href = '/product/basket/view';
</script>