From: bradymiller Date: Wed, 21 Aug 2013 04:10:13 +0000 (-0700) Subject: Revert "Update shared.make_timestamp.php" X-Git-Tag: whats-been-changed~238 X-Git-Url: https://repo.or.cz/w/openemr.git/commitdiff_plain/513714f30b450e629c76a502c07648f79e1618ef Revert "Update shared.make_timestamp.php" This reverts commit 8a04169213088a77e0c35d0ab8a3828b5babc598. --- diff --git a/library/plugins/shared.make_timestamp.php b/library/plugins/shared.make_timestamp.php index f557c7ff8..acdd77735 100644 --- a/library/plugins/shared.make_timestamp.php +++ b/library/plugins/shared.make_timestamp.php @@ -18,15 +18,7 @@ function smarty_make_timestamp($string) if(empty($string)) { $string = "now"; } - - //the following if block catches when $string passed is already numeric - if(is_numeric($string)){ - $time=$string; - } - else{ $time = strtotime($string); - } - if (is_numeric($time) && $time != -1) return $time;