projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New inventory sales report. Shows total sales - costs - contribution per category...
[fa-stable.git]
/
includes
/
date_functions.inc
diff --git
a/includes/date_functions.inc
b/includes/date_functions.inc
index 484d5a8e1fc4072f59aab117c23b6f1cb50f1ac0..febf609f7fe5b94ada520345dba9ac52820f41a8 100644
(file)
--- a/
includes/date_functions.inc
+++ b/
includes/date_functions.inc
@@
-83,7
+83,7
@@
function is_date($date_)
$year = substr($date_,0,4);
}
}
$year = substr($date_,0,4);
}
}
- if ((int)$year > 9999)
+ if (
!isset($year)||
(int)$year > 9999)
{
return 0;
}
{
return 0;
}