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/News/News.php

    r873 r874  
    55function CategoryItemCompare($Item1, $Item2)
    66{
    7   if ($Item1['Index'] == $Item2['Index']) return (0);
    8   return ($Item1['Index'] > $Item2['Index']) ? -1 : 1;
     7  if ($Item1['Index'] == $Item2['Index']) return 0;
     8  return $Item1['Index'] > $Item2['Index'] ? -1 : 1;
    99}
    1010
     
    133133    }
    134134    $Output .= '</div></div>';
    135     return ($Output);
     135    return $Output;
    136136  }
    137137
     
    191191    $Output .= '<a href="aktuality/subscription"><img class="RSSIcon" src="images/rss20.png" alt="Aktuality přes RSS" /></a>  <a href="aktuality/subscription">Automatické sledování novinek</a>';
    192192    $Output .= '</div>';
    193     return ($Output);
     193    return $Output;
    194194  }
    195195
     
    214214    }
    215215    $Output .= '</table><input type="hidden" name="NewsCategoryCount" value="'.count($this->NewsSetting).'" /><input type="submit" value="Uložit" /></form></td></tr></table><br>';
    216     return ($Output);
     216    return $Output;
    217217  }
    218218
     
    267267    }
    268268    $Result .= $Content;
    269     return ($Result);
     269    return $Result;
    270270  }
    271271}
Note: See TracChangeset for help on using the changeset viewer.