#2676 Undefined index: pref_THEME WebCalendar\pref.php on line 87

open
5
2014-09-02
2012-04-27
Hector Mena
No

This error was displayed, when I save the preferences.

Call Stack
# Time Memory Function Location
1 0.0018 1227184 {main}( ) ..\pref.php:0

Discussion

  • Wessiez

    Wessiez - 2013-01-16

    Same issue here!
    Installed in Xampp/localhost for test use

     
  • Adam Bernstein

    Adam Bernstein - 2014-09-02

    And here. Seems like a pretty simple mistake and easy to fix, with a one-line edit, though there may be a different preferred method. No error now.

    pref.php.orig Thu Jan 24 13:10:19 2013
    --- pref.php Tue Sep 2 10:45:56 2014
    ***
    83,89 ****
    }
    }

    ! if ( ! empty ( $_POST ) && empty ( $error ) ) {
    $t = $_POST['pref_THEME'];
    if ( ! empty ( $t ) ) {
    $valid = false;
    --- 83,89 ----
    }
    }

    ! if ( ! empty ( $_POST ) && empty ( $error ) && ! empty ( $_POST['pref_THEME'] )) {
    $t = $_POST['pref_THEME'];
    if ( ! empty ( $t ) ) {
    $valid = false;

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks