view->argument as $id => $arg) { $arg = isset($this->view->args[$position]) ? $this->view->args[$position] : NULL; $position++; if (isset($arg) || $this->has_default_argument()) { if (!isset($arg)) { $arg = $this->get_default_argument(); } } } if (isset($arg)) { activity_views_access_user(user_load($arg)); } } /** * Override query to prevent anything from happening */ function query() { } }