URL: /admin/config/media/swftools/players
Backtrace:

8	1.0101	25008992	swftools_admin_players_form( $form = array (), $form_state = array ('build_info' => array ('args' => array (...), 'form_id' => 'swftools_admin_players_form', 'files' => array (...)), 'rebuild' => FALSE, 'rebuild_info' => array (), 'redirect' => NULL, 'temporary' => array (), 'submitted' => FALSE, 'executed' => FALSE, 'programmed' => FALSE, 'cache' => FALSE, 'method' => 'post', 'groups' => array (), 'buttons' => array (), 'input' => array ()) )	../form.inc:798
9	1.0101	25008992	swftools_players_profile_form( $profile = ??? )	../swftools.admin.inc:156

Comments

kenorb’s picture

kenorb’s picture

This patch fixes the problem:

diff --git a/includes/swftools.admin.inc b/includes/swftools.admin.inc
index aa3ff1c..3f947af 100644
--- a/includes/swftools.admin.inc
+++ b/includes/swftools.admin.inc
@@ -269,6 +269,7 @@ function swftools_admin_players_options($action, $description, $profile = '') {
  * Returns a form definition for the profile players page.
  */
 function swftools_players_profile_form($profile = '') {
+  module_load_include('module','swftools');
   $actions = swftools_get_actions(TRUE);
   foreach ($actions as $action => $info) {
     if ($form_element = swftools_admin_players_options($action, $info['#description'], $profile)) {
kenorb’s picture

Status: Active » Needs review
kenorb’s picture

Issue summary: View changes

Added Backtrace

kenorb’s picture

Priority: Normal » Minor
Issue summary: View changes