Changeset 27149


Ignore:
Timestamp:
03/01/12 17:01:09 (3 years ago)
Author:
jval
Message:

Fix remove_item(). The third argument is length. (For example if you would want only one item you would give 1 as length and not 0.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.core/midcom/helper/toolbar.php

    r24773 r27149  
    439439        else
    440440        {
    441             $this->items = array_merge(array_slice($this->items, 0, $index - 1),
     441            $this->items = array_merge(array_slice($this->items, 0, $index),
    442442                array_slice($this->items, $index + 1));
    443443        }
Note: See TracChangeset for help on using the changeset viewer.