Posted by dopry on April 26, 2008 at 5:59am
Jump to:
| Project: | Date |
| Version: | 5.x-2.0-rc |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
It complains about the second arg to format date... see attached patch which checks if the node has a date field before even trying to load data from it...
You could probably drop the top half of that function and just have the foreach(content_field() as $field) since it looks like this... see example second patch attached that should perform a better job at the gig, but I dont' have time to test it currenlty.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| date.pathauto.patch | 967 bytes | Ignored: Check issue status. | None | None |
| date.pathauto_wtf.patch | 1.76 KB | Ignored: Check issue status. | None | None |
Comments
#1
I'm going to go with the first patch since I can't see how the second one would work and you didn't test it. Thanks!
#2
Automatically closed -- issue fixed for two weeks with no activity.