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.
The test in the module for editing a comment improperly uses && and also it could check arg(2) which has to be numeric.
Finally, the comment may get deleted in between so it wouldn't load. In that case the system should return FALSE immediately (we could also do that with the node.)
See attached.
Comment | File | Size | Author |
---|---|---|---|
advanced_comment-6.x-wrong_test.patch | 1.22 KB | AlexisWilke |