How should I do that?



2014-03-10 15:51 GMT+02:00 Dionysis Zindros <notifications@github.com>:

> In views/user/view.php:
>
> >
> > +        if ( isset( $_SESSION[ 'user' ]->id ) && $_SESSION[ 'user' ]->id == $user->id ) {
>
> Wrap this and previous section in one if to check if user is logged in;
> then check in inside if to see if the user is the same user or a different
> user.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/dionyziz/endofcodes/pull/127/files#r10429602>
> .
>