Changeset 26383


Ignore:
Timestamp:
06/17/10 12:47:19 (7 years ago)
Author:
adrenalin
Message:

Remove extra content from mimetype to help determining if image is web compatible. Fixes #1856.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.helper.datamanager2/type/image.php

    r25328 r26383  
    981981        debug_push_class(__CLASS__, __FUNCTION__);
    982982        debug_add("\$this->_original_mimetype: {$this->_original_mimetype}");
    983         switch ($this->_original_mimetype)
     983        switch (preg_replace('/;.+$/', '', $this->_original_mimetype))
    984984        {
    985985            case 'image/png':
Note: See TracChangeset for help on using the changeset viewer.