When navigating to a node/add page, Drupal will throw a strict notice regarding commons_search module's attempt to determine if the path being viewed is a group:
Notice: Trying to get property of non-object in commons_search_form_alter() (line 57 of /.../profiles/commons/modules/contrib/commons_search/commons_search.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commons_search-node_add_notice-2068007-1.patch | 626 bytes | jrbeeman |
Comments
Comment #1
jrbeemanThe attached patch checks if a node was actually loaded before attempting to determine if it's a group node.
Comment #2
ezra-g commentedIndeed. Committed. Thanks!
http://drupalcode.org/project/commons_search.git/commit/366a6f3