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.
Attached one-line patch fixes what I am sure is a simple typographical error:
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -845,7 +845,7 @@ class DrupalWebTestCase extends DrupalTestCase {
/**
* Get a node from the database based on its title.
*
- * @param title
+ * @param $title
* A node title, usually generated by $this->randomName().
* @param $reset
* (optional) Whether to reset the internal node_load() cache.
Comment | File | Size | Author |
---|---|---|---|
DrupalWebTestCase--drupalGetNodeByTitle--fix_missing_dollar_sign.patch | 561 bytes | pillarsdotnet | |
Comments
Comment #1
TR CreditAttribution: TR commentedYes, this needs to be done.
Comment #2
TR CreditAttribution: TR commentedTagging for backport to D7. Applies cleanly to D7 and D8.
Comment #3
webchickCommitted and pushed to 8.x and 7.x. Thanks!
For future reference, I'm fine with patches like these being all combined into one. It makes reviewing and committing easier.