Menu

#17 Fix getAllSettings() function

Unstable_(example)
closed
nobody
None
1
2014-11-28
2014-10-24
dcec
No

/**

  • Get all site settings
    */
    function getAllSettings()
    {
    global $settings;

check if it already exists

if(isset($settings)) {
- return $settings;
+ return($settings[0]);
}

Discussion

  • Miha Petkovsek

    Miha Petkovsek - 2014-11-17

    Hi, function getAllSettings() on first run returns

    return($settings[0]);

    so return $settings; should be correct.

     
  • Miha Petkovsek

    Miha Petkovsek - 2014-11-28

    Sorry, found and fixed it. brm

     
  • Miha Petkovsek

    Miha Petkovsek - 2014-11-28
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo