Marien Fressinaud 13 ani în urmă
părinte
comite
ce36a3fbd2

+ 1 - 1
app/controllers/feedController.php

@@ -14,7 +14,7 @@ class feedController extends ActionController {
 				try {
 					$feed = new Feed ($url);
 					$feed->load ();
-				
+					
 					$feedDAO = new FeedDAO ();
 					$values = array (
 						'id' => $feed->id (),

+ 9 - 0
app/models/Feed.php

@@ -53,12 +53,21 @@ class Feed extends Model {
 		$this->category = $value;
 	}
 	public function _name ($value) {
+		if (is_null ($value)) {
+			$value = '';
+		}
 		$this->name = $value;
 	}
 	public function _website ($value) {
+		if (is_null ($value)) {
+			$value = '';
+		}
 		$this->website = $value;
 	}
 	public function _description ($value) {
+		if (is_null ($value)) {
+			$value = '';
+		}
 		$this->description = $value;
 	}
 	

+ 1 - 1
public/data/Configuration.array.php

@@ -8,7 +8,7 @@ return array (
 	'shortcuts' => array (
 		'mark_read' => 'r',
 		'mark_favorite' => 'f',
-		'go_website' => 'enter',
+		'go_website' => 'space',
 		'next_entry' => 'page_down',
 		'prev_entry' => 'page_up',
 		'next_page' => 'right',