X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fpreferences.php;h=61ce1cd5269471a7f69c6073310f0c79fac682e2;hp=b30e7cb365fe5782a513cff7fc704f1a6e55ef9b;hb=6da798e39be09e3cea651be2c7d826b79450a1f8;hpb=36702d88963e5646c3e715f72c31ec75f7cb0fcb
diff --git a/include/preferences.php b/include/preferences.php
index b30e7cb..61ce1cd 100644
--- a/include/preferences.php
+++ b/include/preferences.php
@@ -86,7 +86,7 @@ if(myisset('vacation_start','vacation_stop','vacation_comment') &&
$changed_vacation = -1;
/* test if we should delete the entry */
- if($vacation_start == '- 00:00:00')
+ if($_REQUEST['vacation_start'] == $_REQUEST['vacation_stop'])
{
$result = DB_query("DELETE FROM User_Prefs".
" WHERE user_id='$myid' AND pref_key='vacation start'" );
@@ -332,17 +332,17 @@ echo "
\n";
echo " \n";
echo " \n";
-echo " \n";
+echo ' \n";
echo " \n";
-echo " E-DoKo uses gravatars as icons.
";
+echo ' '._('E-DoKo uses gravatars as icons.').'
';
echo "\n";
+// add jquery date picker if html5 is not available
+?>
+
+
\ No newline at end of file