Just a small c&p error

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Here is the patch

dawehner’s picture

StatusFileSize
new1.08 KB

Classical fail

swentel’s picture

Status: Needs review » Needs work
+++ b/plugins/tasks/pm_existing_pages.incundefined
@@ -167,13 +167,14 @@ function pm_existing_pages_pm_existing_pages_build_subtask($task, $task_id) {
-    'row class' => empty($page->disabled) ? 'page-manager-enabled' : 'page-manager-disabled',
+    'row class' => empty($disabled) ? 'page-manager-enabled' : 'page-manager-disabled',
     'storage' => t('In code'),
     'disabled' => variable_get('pm_existing_pages_disabled_' . $task_id, TRUE),

Maybe we can replace the variable_get in the 'disabled' key as well.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new716 bytes

page_manager_get_pages() has the following code

    if (!empty($task['disabled'])) {
      $class[] = 'page-manager-disabled';
    }

So here is a patch for that.

swentel’s picture

Status: Needs review » Fixed

Committed and pushed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.