Révision a5ba142b
Ajouté par Assos Assos il y a presque 6 ans
drupal7/sites/all/modules/rules/includes/rules.core.inc | ||
---|---|---|
113 | 113 |
$error_msg = t('Unable to parse the pasted export.'); |
114 | 114 |
return FALSE; |
115 | 115 |
} |
116 |
// The key ist the configuration name and the value the actual export. |
|
117 |
list($name, $export) = each($export); |
|
116 |
// The key is the configuration name and the value the actual export. |
|
117 |
$name = key($export); |
|
118 |
$export = current($export); |
|
118 | 119 |
if (!isset($export['PLUGIN'])) { |
119 | 120 |
$error_msg = t('Export misses plugin information.'); |
120 | 121 |
return FALSE; |
Formats disponibles : Unified diff
Weekly update of contrib modules