Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#23009 closed defect (bug) (duplicate)

Wrong type of image crop option

Reported by: anatolbroder Owned by:
Priority: normal Milestone:
Component: Media Version: 3.5
Severity: trivial Keywords: has-patch
Cc:

Description

The image crop option must be a boolean. Now it returns a true value like

["crop"]=> string(1) "1"

or

["crop"]=> int(1)

It works, but it’s not nice. My patch transforms the return to a real boolean.

Attachments (1)

crop-bool.diff (883 bytes) - added by anatolbroder 5 months ago.
Set image crop option to boolean

Download all attachments as: .zip

Change History (3)

Set image crop option to boolean

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #23019.

  • Milestone Awaiting Review deleted
  • Version changed from trunk to 3.5
Note: See TracTickets for help on using tickets.