mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-19 18:02:34 -04:00
Fix bug #1
This commit is contained in:
1 parent
9d801981de
commit
ce36a3fbd2
3 files changed
+11
-2
No files matched your search
@@ -14,7 +14,7 @@ class feedController extends ActionController {
|
||||
try {
|
||||
$feed = new Feed ($url);
|
||||
$feed->load ();
|
||||
|
||||
|
||||
$feedDAO = new FeedDAO ();
|
||||
$values = array (
|
||||
'id' => $feed->id (),
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user