Thanks Daniel, I changed the line and now spider admin relogin works perfectly.

On Thu, 17 Jul 2003 16:04:14 +0200
"Daniel S. Reichenbach" <[EMAIL PROTECTED]> wrote:

> Hy John,
> 
> John Habermann wrote:
> > Sorry Daniel can you be a little more specific. I had a look at the code-global 
> > page and the admin root page in spider admin and could see a number of places 
> > where user or users was defined but I am not sure exactly where the problem is.
> Of course I can :-)))
> 
> Take a look at the code-global element at the SpiderAdmin root
> page.
> 
> There you will find the following line (l. 14) right at the top:
> --- snippet ---
> if ($p && $MidgardRelogin && $MidgardRelogin != $p->id) {
> --- end snippet ---
> 
> In the if-statement the variable $p is used. I assume it should
> have been used in the root page but never was. Instead it is
> $user. So all you have to do is change the if-statement to the
> following:
> --- snippet ---
> if ($user && $MidgardRelogin && $MidgardRelogin != $user->id) {
> --- end snippet ---
> 
> > Thanks for your help
> I think that should help and fix the problem.
> 
> Daniel
> -- 
> Best Off GbR                                   [EMAIL PROTECTED]
> One company. One profession.            http://www.best-off.org/
> Marie-Calm-Str. 25                       Phone +49 561 920 37 48
> 34131 Kassel                               Fax +49 561 920 37 49
> Germany                                 Mobile +49 178 474 20 63
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to