aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-24 18:22:40 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-24 18:22:40 +0200
commit4924f4c6d6d03d39471de363b8d368c8edad8f3d (patch)
treef91684622068e2baddbd12b7f20a7d712e095676 /app
parent2b3a08e3dd5bf936d6d76a5f5282933e3ca6aeea (diff)
Correction bugs + amélioration design
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>