Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the hosting_package_sync() function of the hosting_package.module file, it looks like the name of the $package
variable is mis-typed in one of the conditionals:
function hosting_package_sync(&$data) {
...
// we only call node save when the title, description changes
// or when it's a new package.
if (!$package->nid ||
($package->title != $name) ||
($package->description != $file['info']['description']) ||
($pacakge->old_short_name != $file['info']['old_short_name'])) { // TYPO
...
}
Attached is a patch which should fix this issue.
Comment | File | Size | Author |
---|---|---|---|
hosting_package-hosting_package_sync-typo_fix.patch | 609 bytes | GuyPaddock |
Comments
Comment #1
GuyPaddock CreditAttribution: GuyPaddock commentedSetting to "needs review".
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedThanks very much for the fix, pushed to all branches.
Comment #3
GuyPaddock CreditAttribution: GuyPaddock commentedThanks, again.