We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29771
    • 12 Posts
    if(!$this->recordCount($result)==1) {
    $row = $this->fetchRow($result);
    $pluginCode = $this->pluginCache[$row[’name’]] = $row[’plugincode’];
    $pluginProperties = $this->pluginCache[$row[’name’]."Props"] = $row[’properties’];
    } else {
    $pluginCode = $this->pluginCache[$pluginName] = "return false;";
    $pluginProperties = ’’;
    }

    I’m not realy sure but is that bold line correct?
    I think correctly it should be:
    if($this->recordCount($result)){

    hope you can help me. Coz that line is the reason y my editor doesen’t work.

    greets Michael
      • 10487 MODX Staff
      • 1,535 Posts
      This is already a reported bug in the bugtracker and has been fixed for the 0.9.5 release. smiley

      EDIT: I was thinking of snippets for a minute there - actually, this hasn’t been corrected for plugins, good catch! laugh Can you log it in the bugtracker please.
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com