Selaa lähdekoodia

Fix issue #112 : vérification catégorie par défaut

Lors d'une importation OPML, on vérifie la présence d'une catégorie par
défaut pour éviter les imports qui ne marchent pas
Marien Fressinaud 13 vuotta sitten
vanhempi
commit
7b26767114
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      lib/lib_rss.php

+ 1 - 0
lib/lib_rss.php

@@ -69,6 +69,7 @@ function opml_import ($xml) {
 	}
 
 	$catDAO = new CategoryDAO();
+	$catDAO->checkDefault();
 	$defCat = $catDAO->getDefault();
 
 	$categories = array ();