From: <dj...@us...> - 2012-06-25 14:00:53
|
Revision: 9712 http://xoops.svn.sourceforge.net/xoops/?rev=9712&view=rev Author: djculex Date: 2012-06-25 14:00:46 +0000 (Mon, 25 Jun 2012) Log Message: ----------- - Bugfix: Accidently xoops error logger is true. Now set to false to return valid jSon Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/Get_Count.php Modified: XoopsModules/smallworld/trunk/smallworld/Get_Count.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/Get_Count.php 2012-06-25 13:59:53 UTC (rev 9711) +++ XoopsModules/smallworld/trunk/smallworld/Get_Count.php 2012-06-25 14:00:46 UTC (rev 9712) @@ -24,14 +24,14 @@ include_once(XOOPS_ROOT_PATH."/modules/smallworld/class/class_collector.php"); global $xoopsUser, $xoopsLogger, $xoopsDB, $xoopsTpl; -$xoopsLogger->activated = true; +$xoopsLogger->activated = false; $xoopsTpl->caching = 0; $_COOKIE[session_name()] = session_id(); if ($xoopsUser) { if($_GET['SmallworldGetUserMsgCount']) { $counts = smallworld_getCountFriendMessagesEtc(); header('Content-type: application/json'); - echo "{\"NewUserMsgCount\":\"$counts\"}"; + echo "{\"NewUserMsgCount\":$counts}"; } } ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |