using-zf3-book-samples
using-zf3-book-samples copied to clipboard
Error in User Controller
Hello, In UserController ligne 61 there is a $page, but it hasn't value.
$page is the current page, I add this ligne after Access control: $page = (int)$this->params()->fromRoute('id',0);
Are you agree with this?
Hi @calibhaan, I need to investigate first, but looks possible.
This is the correct assignment of page :) $page = (int)$this->params()->fromQuery('page',1);