Commit 3921d99f authored by André Matheus Pedrosa's avatar André Matheus Pedrosa
Browse files

Issue #3254385: Removed default value of second parameter of...

Issue #3254385: Removed default value of second parameter of views_php_form_element() function to follow drupal standars.
parent 93478024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ function views_php_check_access($php_access, $view_name, $display_id, $account =
/**
 * Helper function; builds form for PHP code options of views handlers/plugins.
 */
function views_php_form_element($handler, $checkbox = FALSE, $input, $variables = array()) {
function views_php_form_element($handler, $checkbox, $input, $variables = array()) {
  static $default_variables;
  if (!isset($default_variables)) {
    $default_variables = array(