summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rwxr-xr-xapp/controllers/entryController.php2
-rw-r--r--app/views/configure/importExport.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php
index 753994a2b..f9275593f 100755
--- a/app/controllers/entryController.php
+++ b/app/controllers/entryController.php
@@ -32,7 +32,7 @@ class entryController extends ActionController {
if ($id == false) {
$entryDAO->updateEntries ($values);
} else {
- $entryDAO->updateEntry ($entry->id (), $values);
+ $entryDAO->updateEntry ($id, $values);
}
}
diff --git a/app/views/configure/importExport.phtml b/app/views/configure/importExport.phtml
index add78d1e1..c8ee6b7f1 100644
--- a/app/views/configure/importExport.phtml
+++ b/app/views/configure/importExport.phtml
@@ -1,5 +1,5 @@
<?php if ($this->req == 'export') { ?>
-<?xml version="1.0" encoding="UTF-8" ?>
+<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; // résout bug sur certain serveur ?>
<!-- Generated by <?php echo Configuration::title (); ?> -->
<opml version="2.0">
<head>