mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-24 03:58:33 -04:00
Fix bugs in import/export
- EntryDAO.php: add a missing "FreshRSS_EntryDAO::" - Fix htmlspecialchars in opml export
This commit is contained in:
1 parent
e507256d0b
commit
d5d3f6dcfa
2 files changed
+6
-4
No files matched your search
@@ -17,7 +17,9 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {
|
||||
}
|
||||
|
||||
public function addEntry($valuesTmp, $preparedStatement = null) {
|
||||
$stm = $preparedStatement === null ? addEntryPrepare() : $preparedStatement;
|
||||
$stm = $preparedStatement === null ?
|
||||
FreshRSS_EntryDAO::addEntryPrepare() :
|
||||
$preparedStatement;
|
||||
|
||||
$values = array(
|
||||
$valuesTmp['id'],
|
||||
|
||||
@@ -18,9 +18,9 @@ foreach ($this->categories as $key => $cat) {
|
||||
$opml_array['body'][$key]['@outlines'][] = array(
|
||||
'text' => htmlspecialchars_decode($feed->name()),
|
||||
'type' => 'rss',
|
||||
'xmlUrl' => $feed->url(),
|
||||
'htmlUrl' => $feed->website(),
|
||||
'description' => $feed->description()
|
||||
'xmlUrl' => htmlspecialchars_decode($feed->url()),
|
||||
'htmlUrl' => htmlspecialchars_decode($feed->website()),
|
||||
'description' => htmlspecialchars_decode($feed->description()),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user