Alexis Degrugillier hace 12 años
padre
commit
b0a3610db7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/Configuration.php

+ 1 - 1
app/Models/Configuration.php

@@ -210,7 +210,7 @@ class FreshRSS_Configuration {
 			}
 
 			// Add a default name
-			if (!array_key_exists('name', $value) || strcmp($value['name'], '') === 0) {
+			if (empty($value['name'])) {
 				$value['name'] = $value['type'];
 			}