From: <var...@us...> - 2021-11-21 19:47:46
|
Revision: 10671 http://sourceforge.net/p/phpwiki/code/10671 Author: vargenau Date: 2021-11-21 19:47:44 +0000 (Sun, 21 Nov 2021) Log Message: ----------- Ensure $stats is an array Modified Paths: -------------- trunk/lib/plugin/WhoIsOnline.php Modified: trunk/lib/plugin/WhoIsOnline.php =================================================================== --- trunk/lib/plugin/WhoIsOnline.php 2021-11-21 19:37:12 UTC (rev 10670) +++ trunk/lib/plugin/WhoIsOnline.php 2021-11-21 19:47:44 UTC (rev 10671) @@ -196,6 +196,7 @@ $dbi->set('stats', $stats); } } else { + $stats = array(); $stats['max_online_num'] = $num_users; $stats['max_online_time'] = time(); $dbi->set('stats', $stats); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |