Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-4131

constructor name is mcp_main instead of class name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      A little copy&paste error - if you look at this code:

      class mcp_queue
      {
      	var $p_master;
      	var $u_action;
       
      	function mcp_main(&$p_master)
      	{
      		$this->p_master = &$p_master;
      	}


      Here mcp_main is the constructor, but it is never called because it is named mcp_main where it should be mcp_queue. This is the case for
      [list: f28bc]* mcp_logs

      • mcp_queue
      • mcp_reports

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Pyramide Pyramide [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: