From: <cf...@us...> - 2010-04-25 20:37:30
|
Revision: 1940 http://znc.svn.sourceforge.net/znc/?rev=1940&view=rev Author: cflakes Date: 2010-04-25 20:37:24 +0000 (Sun, 25 Apr 2010) Log Message: ----------- Fixed GetParam call in the notes module. Modified Paths: -------------- trunk/modules/notes.cpp Modified: trunk/modules/notes.cpp =================================================================== --- trunk/modules/notes.cpp 2010-04-25 20:36:42 UTC (rev 1939) +++ trunk/modules/notes.cpp 2010-04-25 20:37:24 UTC (rev 1940) @@ -173,7 +173,7 @@ return true; } else if (sPageName == "delnote") { - DelNote(WebSock.GetParam("key")); + DelNote(WebSock.GetParam("key", false)); WebSock.Redirect("/mods/notes/"); return true; } else if (sPageName == "addnote") { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |