edgardmessias / glpi-singlesignon

GNU General Public License v3.0
68 stars 51 forks source link

Warning (2): Trying to access array offset on a value of type int in toolbox.class.php #76

Closed sina-4 closed 10 months ago

sina-4 commented 11 months ago

I'm using Singlesignon with debug mode active in GLPI, and it's functioning correctly. However, I've been encountering a significant number of warnings since I started using the Singlesignon plugin. I've noticed one specific warning on the plugin page that reads: 'PHP Warning (2): Trying to access array offset on a value of type int in /var/www/html/glpi10/plugins/singlesignon/inc/toolbox.class.php at line 17.' Could someone please assist me in resolving this issue?

tomamplius commented 10 months ago

I have fix with add ['id']

image

tomamplius commented 10 months ago

i have push https://github.com/edgardmessias/glpi-singlesignon/pull/77

tomamplius commented 10 months ago

duplicate with #75