devel_create_content uses random format when passed format 0
davej - November 9, 2009 - 15:07
| Project: | Devel |
| Version: | 6.x-1.18 |
| Component: | devel_generate |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
If devel_create_content is passed format ($type) 0, $type is then set to mt_rand(0,3). I assume the intended behaviour is that $type remains 0. Patch attached.
Dave
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| devel_create_content-format.patch.txt | 398 bytes | Ignored | None | None |

#1