--- /home/vivien/projets/libre-informatique/TestProject/src/Librinfo/CoreBundle/Command/../Tools/Patches/patches/original/1447941862	2015-11-19 15:04:23.376138782 +0100
+++ /home/vivien/projets/libre-informatique/TestProject/src/Librinfo/CoreBundle/Tools/Patches/patches/patched/LazyChoiceList.php	2015-11-19 15:04:06.136138167 +0100
@@ -118,6 +118,14 @@
      */
     public function getChoicesForValues(array $values)
     {
+        if (empty($values))
+            return array();
+        else
+        {
+            $first = reset($values);
+            if (empty($first))
+                return array();
+        }
         if (!$this->loadedList) {
             return $this->loader->loadChoicesForValues($values, $this->value);
         }
