v1.7 - Search Error

A

Ap.Muthu

Guest
If we have a DATE field and it is null initially, DaDaBIk v1.7 as all other versions till date still yields an error line for each such field of each such record.
 
E

Eugenio

Guest
Ap.Muthu wrote:
>
> If we have a DATE field and it is null initially, DaDaBIk
> v1.7 as all other versions till date still yields an error
> line for each such field of each such record.

Thanks.
The temporary workaround is:
change this line:
$date=date("j M Y",mktime(0,0,0,$temp[1],$temp[2],$temp[0]));
to
$date=@date("j M Y",mktime(0,0,0,$temp[1],$temp[2],$temp[0]));

in include/general_functions.php
In this way you won't get the error message.
Anyway, remember that at the moment you can't set a null value for a date during an insert/update.


(Latest version of DaDaBIK when this message was posted: 1.7)
 
Top