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/Common/Form/Form.php

    r873 r874  
    113113    $Output = '<fieldset><legend>'.$this->Definition['Title'].'</legend>'.Table($Table).
    114114    '</fieldset>';
    115     return ($Output);
     115    return $Output;
    116116  }
    117117
     
    122122      '<div><input name="submit" type="submit" value="'.$this->Definition['SubmitText'].'" /> '.
    123123      '<input type="button" value="Zrušit" onclick="location.href=\'?\'"/></div></form>';
    124     return ($Output);
     124    return $Output;
    125125  }
    126126
     
    316316      }
    317317    }
    318     return ($Values);
     318    return $Values;
    319319  }
    320320
     
    353353    }
    354354    if ($Valid == false) throw new Exception('not validated');
    355     return ($Valid);
     355    return $Valid;
    356356  }
    357357}
     
    360360function MakeLink($Target, $Title)
    361361{
    362   return ('<a href="'.$Target.'">'.$Title.'</a>');
     362  return '<a href="'.$Target.'">'.$Title.'</a>';
    363363}
    364364
     
    384384  }
    385385  $Result .= '</table>';
    386   return ($Result);
     386  return $Result;
    387387}
    388388
Note: See TracChangeset for help on using the changeset viewer.