Fixato archivio
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
@@ -55,8 +55,7 @@ try {
|
||||
|
||||
}
|
||||
else{
|
||||
// GUIHandler::redirect("index.php");
|
||||
echo "Errore";
|
||||
GUIHandler::redirect("index.php");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user