Ticket #404 (closed Bug: fixed)

Opened 9 months ago

Last modified 9 months ago

config::set bug ?

Reported by: stach Owned by: Shadowhand
Priority: trivial Milestone: 2.1.2
Component: Core Version: SVN HEAD
Keywords: Cc:

Description

I can't use Config::set

I change code

foreach($keys as $i => $k)
		{			
/* //delete this?
if ( ! isset($conf[$k]))
return FALSE;
*/

			if ($i === $last)
			{
				$conf[$k] = $value;
			}
			else
			{
				$conf =& $conf[$k];
			}
		}

and it is OK :)

Change History

Changed 9 months ago by Shadowhand

  • status changed from new to assigned

Changed 9 months ago by Shadowhand

  • priority changed from minor to trivial
  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r2054.

Note: See TracTickets for help on using tickets.