phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017186phplist applicationOtherpublic09-05-14 11:2528-06-14 14:40
Reporterduncanc 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.0.6 
Target Version3.0.7Fixed in Version3.0.7 
Summary0017186: PHP notice about undefined index
DescriptionLine 691 in file admin/lib.php causes a PHP notice warning when error reporting is enabled.

[09-May-2014 05:30:01 Europe/London] PHP Notice: Undefined index: MC in /home/ealiyorg/public_html/lists/admin/lib.php on line 691

The code is
 
    if (is_object($GLOBALS['MC'])) {

$MC is populated by this code in admin/init.php, so lib.php needs to test for the variable existing.

if (defined('MEMCACHED')) {
  include_once dirname(__FILE__).'/class.memcached.php';
  if (class_exists('phpListMC')) {
    $GLOBALS['MC'] = new phpListMC();
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054066)
duncanc (developer)
28-06-14 14:10

See GitHub pull request https://github.com/michield/phplist/pull/31 [^]


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker