webcalendar

Check-in [54a93e819b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Code comment from "Hamdi_C", issue 2729 at SF Webcalendar. Reuse of variable name interferes with correct deltion of repeating events.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:54a93e819b88ba6d86ba556fac28d02fea60bb8835c9c33e2b6eaf682901eb32
User & Date: ajv-899-334-8894@vsta.org 2017-05-30 04:29:23
Context
2017-05-30
04:34
Bug report from Eberhard Kummerle, some users unable to save preferences. Patch supplied. check-in: e00697f245 user: ajv-899-334-8894@vsta.org tags: master, trunk
04:29
Code comment from "Hamdi_C", issue 2729 at SF Webcalendar. Reuse of variable name interferes with correct deltion of repeating events. check-in: 54a93e819b user: ajv-899-334-8894@vsta.org tags: master, trunk
03:18
Bring up a CSS3 mobile friendly "today" display. Do this by way of Python, adding a webcal.py module to bring in events and interpret them (including repeats). check-in: 12ba32737d user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to del_entry.php.

195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
              webcal_entry_user WHERE cal_id = ?', array ( $ex_events[$i] ) );
            if ( $res ) {
              $delusers = array ();
              while ( $row = dbi_fetch_row ( $res ) ) {
                $delusers[] = $row[0];
              }
              dbi_free_result ( $res );
              for ( $j = 0, $cnt = count ( $delusers ); $j < $cnt; $j++ ) {
                // Log the deletion.
                activity_log ( $ex_events[$i], $login, $delusers[$j],
                  $log_delete, '' );
                dbi_execute ( 'UPDATE webcal_entry_user SET cal_status = ?
                  WHERE cal_id = ? AND cal_login = ?',
                  array ( 'D', $ex_events[$i], $delusers[$j] ) );
              }







|







195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
              webcal_entry_user WHERE cal_id = ?', array ( $ex_events[$i] ) );
            if ( $res ) {
              $delusers = array ();
              while ( $row = dbi_fetch_row ( $res ) ) {
                $delusers[] = $row[0];
              }
              dbi_free_result ( $res );
              for ( $j = 0, $cnt2 = count ( $delusers ); $j < $cnt2; $j++ ) {
                // Log the deletion.
                activity_log ( $ex_events[$i], $login, $delusers[$j],
                  $log_delete, '' );
                dbi_execute ( 'UPDATE webcal_entry_user SET cal_status = ?
                  WHERE cal_id = ? AND cal_login = ?',
                  array ( 'D', $ex_events[$i], $delusers[$j] ) );
              }