Loading pift.pages.inc +2 −2 Changes for pift.pages.inc: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,9 +36,9 @@ function pift_pages_description_add(&$form, $form_state, $form_id) { * Add testing setting. */ function pift_pages_project_issue_settings(&$form, $form_state) { // We don't want to inject any of these settings if it is a sandbox project. // We don't want to inject any of these settings the project has no releases. $project_node = node_load($form['nid']['#value']); if (!empty($project_node->project['sandbox'])) { if (empty($project_node->project_release['releases'])) { return; } Loading Loading
pift.pages.inc +2 −2 Changes for pift.pages.inc: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,9 +36,9 @@ function pift_pages_description_add(&$form, $form_state, $form_id) { * Add testing setting. */ function pift_pages_project_issue_settings(&$form, $form_state) { // We don't want to inject any of these settings if it is a sandbox project. // We don't want to inject any of these settings the project has no releases. $project_node = node_load($form['nid']['#value']); if (!empty($project_node->project['sandbox'])) { if (empty($project_node->project_release['releases'])) { return; } Loading