aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-01 20:20:25 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-01 20:20:25 +0200
commit35be1769de28df3fff1a26e40d1d6b1e587a2847 (patch)
tree17c0def5f8acd4910d8cf43c051b9087f5379c0b /lib
parentaafcd3a879225414ca7fb5a9b74ba06e5ece8c12 (diff)
Basic protection against XSRF using Referer
https://github.com/marienfressinaud/FreshRSS/issues/554 Also edited the error controler to use the log message passed in Minz_Error::error().
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Translate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Translate.php b/lib/Minz/Translate.php
index df48350e9..8c2f90041 100644
--- a/lib/Minz/Translate.php
+++ b/lib/Minz/Translate.php
@@ -75,5 +75,5 @@ function _t($key) {
unset($args[0]);
array_unshift($args, $key);
- return call_user_func_array("Minz_Translate::t", $args);
+ return call_user_func_array('Minz_Translate::t', $args);
}