Minor - Fix "Required parameter $type follows optional param"

pull/3872/head
Julio Montoya 5 years ago
parent 4c6f9cdbb9
commit 299382241f
  1. 4
      main/dropbox/dropbox_functions.inc.php
  2. 18
      main/inc/lib/agenda.lib.php
  3. 4
      main/inc/lib/blog.lib.php

@ -190,8 +190,8 @@ function delete_category($action, $id, $user_id = null)
function display_move_form(
$part,
$id,
$target = [],
$extra_params = [],
$target,
$extra_params,
$viewReceivedCategory,
$viewSentCategory,
$view

@ -3385,10 +3385,10 @@ class Agenda
*/
public static function get_global_agenda_items(
$agendaitems,
$day = "",
$month = "",
$year = "",
$week = "",
$day,
$month,
$year,
$week,
$type
) {
$tbl_global_agenda = Database::get_main_table(
@ -3530,10 +3530,10 @@ class Agenda
public static function get_personal_agenda_items(
$user_id,
$agendaitems,
$day = "",
$month = "",
$year = "",
$week = "",
$day,
$month,
$year,
$week,
$type
) {
$tbl_personal_agenda = Database::get_main_table(TABLE_PERSONAL_AGENDA);
@ -3662,7 +3662,7 @@ class Agenda
$agendaitems,
$month,
$year,
$weekdaynames = [],
$weekdaynames,
$monthName,
$show_content = true
) {

@ -1216,8 +1216,8 @@ class Blog
* @return array
*/
public static function getThreadedComments(
$current = 0,
$current_level = 0,
$current,
$current_level,
$blog_id,
$post_id,
$task_id = 0

Loading…
Cancel
Save