diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 11:44:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 11:44:58 -0200 |
commit | 9334f7e48133c3a2309ed8dc39182cbc486570b6 (patch) | |
tree | 7d2aa4f0965d3b18ceff91f47712aca6787c1a4a /www/inc/exif.inc.php | |
parent | 9440f6530bb5809e36d4220062fce040cb00f01c (diff) | |
download | original-9334f7e48133c3a2309ed8dc39182cbc486570b6.tar.gz original-9334f7e48133c3a2309ed8dc39182cbc486570b6.tar.bz2 |
Avoiding deprecation notices (3)
Diffstat (limited to 'www/inc/exif.inc.php')
-rw-r--r-- | www/inc/exif.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/exif.inc.php b/www/inc/exif.inc.php index 00068c8..ac30a16 100644 --- a/www/inc/exif.inc.php +++ b/www/inc/exif.inc.php @@ -46,7 +46,7 @@ function formatEXIF ($k,$v) { break; case "DateTime": //return date("M d Y H:i:s", $v); - ereg("^([0-9]{4}):([0-9]{1,2}):([0-9]{1,2}) (.*)",$v,$x); + preg_match("/^([0-9]{4}):([0-9]{1,2}):([0-9]{1,2}) (.*)/",$v,$x); return $x[1] . "/" . $x[2] . "/" . $x[3] . " " . $x[4]; break; default: |