Révision 4444412d
Ajouté par Julien Enselme il y a environ 10 ans
drupal7/includes/path.inc | ||
---|---|---|
560 | 560 |
elseif ($dynamic_allowed && preg_match('/\/\%/', $path)) { |
561 | 561 |
// Path is dynamic (ie 'user/%'), so check directly against menu_router table. |
562 | 562 |
if ($item = db_query("SELECT * FROM {menu_router} where path = :path", array(':path' => $path))->fetchAssoc()) { |
563 |
$item['link_path'] = $form_item['link_path'];
|
|
564 |
$item['link_title'] = $form_item['link_title'];
|
|
563 |
$item['link_path'] = $item['path'];
|
|
564 |
$item['link_title'] = $item['title'];
|
|
565 | 565 |
$item['external'] = FALSE; |
566 | 566 |
$item['options'] = ''; |
567 | 567 |
_menu_link_translate($item); |
Formats disponibles : Unified diff
Update drupal 7.27 -> 7.28