bobsta63/zpanelx — pull request #90 by llun (2013-12-29 12:41:05+00:00)
Title: Fixed wrong sql cause reseller cannot shadow to there client.

My clients told me they can't shadow to there sub-client and I saw this error when they done that.

[Sun Dec 29 19:12:47 2013] [error] [client 168.63.240.195] PHP Notice: Undefined index: ac_id_pk in /etc/zpanel/panel/modules/shadowing/code/controller.ext.php on line 98, referer: http://***/?module=shadowing

I changed the sql which solved the issue but got another two errors.

[Sun Dec 29 19:26:24 2013] [error] [client 168.63.240.195] PHP Warning: Missing argument 2 for ctrl_auth::SetUserSession(), called in /etc/zpanel/panel/modules/shadowing/code/controller.ext.php on line 102 and defined in /etc/zpanel/panel/dryden/ctrl/auth.class.php on line 57, referer: http://***/?module=shadowing
[Sun Dec 29 19:26:24 2013] [error] [client 168.63.240.195] PHP Notice: Undefined variable: sessionSecuirty in /etc/zpanel/panel/dryden/ctrl/auth.class.php on line 61, referer: http://***/?module=shadowing

Not sure is it cause another problem but shadow is working fine on my server now.