Explorar el Código

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 hace 13 años
padre
commit
7b26767114
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 ();