Avoid error if creation date calendar is empty.

Avoid error on picture_modify.php if creation date is not correct.

git-svn-id: http://piwigo.org/svn/trunk@5283 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2010-03-23 11:08:09 +00:00
parent a6c771547d
commit 87f5424cca
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -292,6 +292,7 @@ WHERE id IN (' . implode(',',$page['items']) .')';
function array_to_int($array)
{
$result = array();
foreach ($array as $k => $v)
{
if ((int)$k==$k)