CMS MADE SIMPLE FORGE

Bookmarks

 

[#464] Undefined variable and typo

avatar
Created By: Alberto Benati (alby)
Date Submitted: Fri Mar 17 03:33:44 -0500 2006

Assigned To:
Version: None
CMSMS Version: None
Severity: None
Resolution: Fixed
State: Open
Summary:
Undefined variable and typo
Detailed Description:
1. USER
Notice: Use of undefined constant display_unapproved - assumed
'display_unapproved' in Bookmarks.module.php on line 1225

$display_unapproved = get_parameter_value($parameters, display_unapproved,
false);
=>
$display_unapproved = get_parameter_value($parameters, 'display_unapproved',
false);

2. ADMIN
Notice: Undefined variable: startPoint in Bookmarks.module.php on line 812
Notice: Undefined variable: startPoint in Bookmarks.module.php on line 815
Notice: Undefined variable: message in Bookmarks.module.php on line 821
Notice: Undefined variable: rowclass in Bookmarks.module.php on line 1026
Notice: Undefined variable: rowclass in Bookmarks.module.php on line 1052
Notice: Undefined variable: startPoint in Bookmarks.module.php on line 1168
Notice: Undefined variable: startPoint in Bookmarks.module.php on line 1171


History

Comments
avatar
Date: 2006-05-14 14:22
Posted By: Elijah Lofgren (elijahlofgren)

Patch for the undefined variables in the Admin panel is here:
http://dev.cmsmadesimple.org/tracker/index.php?func=detail&aid=657&group_id=19&atid=155
      
avatar
Date: 2006-05-19 03:58
Posted By: Alberto Benati (alby)

Added patch on Elijah Lofgren patch (SVN version) for undefined constant
display_unapproved (1. USER)
      
avatar
Date: 2007-02-25 00:23
Posted By: Elijah Lofgren (elijahlofgren)

Should be fixed in lastest SVN trunk.
      
avatar
Date: 2007-02-25 02:02
Posted By: Elijah Lofgren (elijahlofgren)

Nevermind, I was fixing the wrong branch on bookmarks. Sorry.

PageBlocks (SVN version) can now do more than Bookmarks. You may want to check
it out.