Changeset 874 for trunk/Modules/Meals


Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meals/Meals.php

    r873 r874  
    1515    if (count($this->System->PathItems) > 1)
    1616    {
    17       if ($this->System->PathItems[1] == 'tisk') return ($this->ShowPrint());
    18         else if ($this->System->PathItems[1] == 'menuedit.php') return ($this->ShowEdit());
    19         else return (PAGE_NOT_FOUND);
    20     } else return ($this->ShowMenu());
     17      if ($this->System->PathItems[1] == 'tisk') return $this->ShowPrint();
     18        else if ($this->System->PathItems[1] == 'menuedit.php') return $this->ShowEdit();
     19        else return PAGE_NOT_FOUND;
     20    } else return $this->ShowMenu();
    2121  }
    2222
     
    4040    $Output .= 'Cena jednoho menu: '.$Row['Price'].' Kč<br />';
    4141    $Output .= $Row['Info'];
    42     return ($Output);
     42    return $Output;
    4343  }
    4444
     
    9191
    9292    $Output .= '</body></html>';
    93     return ($Output);
     93    return $Output;
    9494  }
    9595
     
    117117    $Output .= '</select></td></tr>';
    118118    $LastWeekOfYear = $WeekOfYear;
    119     return ($Output);
     119    return $Output;
    120120  }
    121121
     
    173173'<div align="center"><input type="submit" value="Uložit údaje"></div>
    174174</fieldset></form>';
    175     return ($Output);
     175    return $Output;
    176176  }
    177177}
Note: See TracChangeset for help on using the changeset viewer.