Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.65k stars 406 forks source link

When user session not found, device lists can be incorrectly returned #5655

Closed xmacan closed 9 months ago

xmacan commented 9 months ago

Problem is if user_id session variable is not set, user_id 0 is used. So function returns unexpected list. It causes problem in intropage.

TheWitness commented 9 months ago

Yea, I get it. There is more than one location though and a few components out of order.

TheWitness commented 9 months ago

Please review the commit.