Drupal: Fixed minor PHP issue for Scrutinizer: needed to declare as an array.

This commit is contained in:
Shawn Kwang 2017-11-02 08:08:23 -05:00 committed by Tristan Olive
parent e38debe68d
commit bcb1c5af98
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
* separate text for user profiles. * separate text for user profiles.
*/ */
function boinccore_delete_confirm(&$form_state, $node) { function boinccore_delete_confirm(&$form_state, $node) {
$form = array();
$form['nid'] = array( $form['nid'] = array(
'#type' => 'value', '#type' => 'value',
'#value' => $node->nid, '#value' => $node->nid,