Fixato archivio

This commit is contained in:
Riccardo Di Dato
2016-03-17 18:03:44 +01:00
parent 8a29353046
commit 067ec57d79
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -31,8 +31,9 @@ try {
'$lt'=>new MongoDate(strtotime($dateString." +1 day"))))
);
if(sizeof($notizieDate)>0){
if (sizeof($notizieDate)>0){
$found=true;
$notizieDate = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $notizieDate);
}
// var_dump($notizieDate);
}
+1 -2
View File
@@ -55,8 +55,7 @@ try {
}
else{
// GUIHandler::redirect("index.php");
echo "Errore";
GUIHandler::redirect("index.php");
}