give current value higher priority then $value[default_sel] when determining $app

This commit is contained in:
Ralf Becker 2010-11-12 08:17:30 +00:00
parent c115d73cfb
commit 92ebc10cef

View File

@ -357,6 +357,7 @@ class link_widget
if (isset($value['current']))
{
list($app,$id) = explode(':',$value['current'], 2);
if ($app) unset($value['default_sel']); // would overwrite $app!
}
}
else