ソースを参照

renaming function in order to remove phpdoc error
it is better to have different names for different functions even when they
don't conflict with each other.

tokul 21 年 前
コミット
29ff440043
1 ファイル変更2 行追加2 行削除
  1. 2 2
      plugins/calendar/event_edit.php

+ 2 - 2
plugins/calendar/event_edit.php

@@ -103,7 +103,7 @@ elseif (isset($_GET['minute'])) {
 /* got 'em */
 
 // update event info
-function show_event_form() {
+function update_event_form() {
     global $color, $editor_size, $year, $day, $month, $hour, $minute, $calendardata;
 
     $tmparray = $calendardata["$month$day$year"]["$hour$minute"];
@@ -287,7 +287,7 @@ echo html_tag( 'tr', '', '', $color[0] ) .
 if (!isset($updated)){
     //get changes to event
     readcalendardata();
-    show_event_form();
+    update_event_form();
 } else {
     if (!isset($confirmed)){
         //confirm changes