Coder Social home page Coder Social logo

Comments (6)

Stichoza avatar Stichoza commented on September 2, 2024

Same here.

from laravel-elfinder.

iffifan avatar iffifan commented on September 2, 2024

same here

from laravel-elfinder.

kirant400 avatar kirant400 commented on September 2, 2024

options array are not merged.
I found this code
`function array_merge_recursive_distinct()
{
$arrays = func_get_args();
$base = array_shift($arrays);

if(!is_array($base)) $base = empty($base) ? array() : array($base);

foreach($arrays as $append) {
    if(!is_array($append)) $append = array($append);
    foreach($append as $key => $value) {
        if(!array_key_exists($key, $base) and !is_numeric($key)) {
            $base[$key] = $append[$key];
            continue;
        }
        if(is_array($value) or is_array($base[$key])) {
            $base[$key] = array_merge_recursive_distinct($base[$key], $append[$key]);
        }
        else if(is_numeric($key))
        {
            if(!in_array($value, $base)) $base[] = $value;
        }
        else {
            $base[$key] = $value;
        }
    }
}

return $base;

}`

from laravel-elfinder.

kssee avatar kssee commented on September 2, 2024

Hi, I have a same issue here, can someone please fix it?! Thanks

from laravel-elfinder.

foundedlabs avatar foundedlabs commented on September 2, 2024

Hi guys is this still an issue?

It seems that #92
is fixing this issue but the pull request has not been merged since last year...

Any idea of how to move this forward?

from laravel-elfinder.

barryvdh avatar barryvdh commented on September 2, 2024

Wasn't this fixed with e8e307a

from laravel-elfinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.