Commit f877be5e authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2592 PHP error: Undefined index: rtl

Showing with 5 additions and 6 deletions
+5 -6
......@@ -109,6 +109,7 @@ textdomain($domain);
$display = "";
require_once("../setup/main.inc");
$smarty->assign("rtl", language_is_rtl($lang));
$smarty->assign("date", date("l, dS F Y H:i:s O"));
$header = $smarty->fetch(get_template_path('headers.tpl'));
......
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2007 Fabian Hickert
......@@ -21,17 +20,16 @@
*/
/* Create a new setup class if necessary */
if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
session::set('setup',new setup());
if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)) {
session::set('setup', new setup());
}
$setup = session::get('setup');
/* Execute formular */
$setup->save_object();
$display= $setup->execute();
$display = $setup->execute();
/* Store changes in session */
session::set('setup',$setup);
session::set('setup', $setup);
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
  • bmortier @bmortier

    mentioned in issue #874

    By bmortier on 2017-09-02T15:02:00 (imported from GitLab)

    ·

    mentioned in issue #874

    By bmortier on 2017-09-02T15:02:00 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment