Fix: Add to areas not working if we navigate with shownavref

This commit is contained in:
simnandez 2012-11-30 16:20:01 +01:00 committed by Laurent Destailleur
parent 4136c27516
commit af304638c8

View File

@ -1380,7 +1380,7 @@ print "\n</div><br>\n";
* All the "Add to" areas
*/
if ($id && ($action == '' || $action == 'view') && $object->status)
if ($object->id && ($action == '' || $action == 'view') && $object->status)
{
print '<table width="100%" class="noborder">';