Revision 560c3060
Added by Julien Enselme about 9 years ago
drupal7/sites/all/modules/ctools/page_manager/plugins/tasks/page.admin.inc | ||
---|---|---|
61 | 61 |
} |
62 | 62 |
|
63 | 63 |
$path = array(); |
64 |
$page_arguments = array($subtask_id); |
|
64 |
$page_arguments = array((string) $subtask_id);
|
|
65 | 65 |
$access_arguments = array($subtask->access); |
66 | 66 |
$load_arguments = array($subtask_id, '%index', '%map'); |
67 | 67 |
|
... | ... | |
566 | 566 |
if (strpos($path, '%') === FALSE) { |
567 | 567 |
$alias = db_query('SELECT alias, source FROM {url_alias} WHERE alias = :path', array(':path' => $path))->fetchObject(); |
568 | 568 |
if ($alias) { |
569 |
form_error($form['path'], t('That path is currently assigned to be an alias for @alias. This system cannot override existing aliases.', array('@alias' => $alias->src)));
|
|
569 |
form_error($form['path'], t('That path is currently assigned to be an alias for @alias. This system cannot override existing aliases.', array('@alias' => $alias->source)));
|
|
570 | 570 |
} |
571 | 571 |
} |
572 | 572 |
else { |
Also available in: Unified diff
Update ctools 1.7 -> 1.9