Skip to content

Commit

Permalink
Ensure JavaScript global variables in edit_entry.php refer to distinc…
Browse files Browse the repository at this point in the history
…t arrays

Ensure JavaScript global variables in edit_entry.php refer to distinct arrays. This fixes #531.
  • Loading branch information
dmjohnsson23 authored Jan 28, 2025
1 parent 402a92a commit cd45856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/js/edit_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

load_user_categories();
?>
var bydayAr = bymonthdayAr = bysetposAr = [];
var bydayAr = [], bymonthdayAr = [], bysetposAr = [];

var byday_labels = ['SU','MO','TU','WE','TH','FR','SA'];
var byday_names = [
Expand Down

0 comments on commit cd45856

Please sign in to comment.