Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Resolve issue where we only get the first character of the label/value #486

Closed
wants to merge 1 commit into from

Commits on Mar 12, 2014

  1. Resolve issue where we only get the first character of the label/value

    Inconsistent behaviour between PHP versions, see http://stackoverflow.com/a/9132759/2927691.
    
    ```php
    $option = 'Boom';
    $opt_label = isset( $option['name'] ) ? $option['name'] : $option;
    print_r( $opt_label ); // "B" on PHP 5.3, "Boom" on PHP 5.4
    ```
    mustardBees committed Mar 12, 2014
    Configuration menu
    Copy the full SHA
    e76f331 View commit details
    Browse the repository at this point in the history