fixed view.php by passing array instead of string

current($arguments) returns string, has to be array