qbdsoft / owasp-esapi-php

Automatically exported from code.google.com/p/owasp-esapi-php
Other
0 stars 0 forks source link

Bad code in DateFormat.php #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See src/reference/validation/DateFormat.php

    function __construct($format=null,$type='MEDIUM') {
        Da
        $this->setformat($format,$type);
    }

Please remove "Da"

Original issue reported on code.google.com by vande...@gmail.com on 23 Oct 2009 at 10:15

GoogleCodeExporter commented 9 years ago
There were a number of other syntax errors with this code. I've fixed them in 
r137

thanks,
Andrew

Original comment by vande...@gmail.com on 23 Oct 2009 at 10:23

GoogleCodeExporter commented 9 years ago
Johannes,

Can you check that I've fixed the code properly?

thanks,
Andrew

Original comment by vande...@gmail.com on 23 Oct 2009 at 10:24