Explorar el Código

Merge pull request #982 from aledeg/fix-user-queries-deletion

Fix feed and category side effect
Marien Fressinaud hace 10 años
padre
commit
da82b66570
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/Models/ConfigurationSetter.php

+ 2 - 0
app/Models/ConfigurationSetter.php

@@ -119,6 +119,8 @@ class FreshRSS_ConfigurationSetter {
 		foreach ($values as $value) {
 			if ($value instanceof FreshRSS_UserQuery) {
 				$data['queries'][] = $value->toArray();
+			} elseif (is_array($value)) {
+				$data['queries'][] = $value;
 			}
 		}
 	}