Download & Extend

devel_create_content uses random format when passed format 0

Project:Devel
Version:6.x-1.18
Component:devel_generate
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

AttachmentSizeStatusTest resultOperations
devel_create_content-format.patch.txt398 bytesIgnoredNoneNone

Comments

#1

Status:active» needs review