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

This commit is contained in:
Ralf Becker 2010-11-12 08:16:37 +00:00
parent 15612076fb
commit 3f3bd68969

View File

@ -356,6 +356,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