Suggestion

Description

Maybe another solution is to have a company with id = 0.

To implement like:

from install/db_updates.inc.php

if($db_version < 0.0685) {
$update_queries[]="INSERT INTO `{$db_table_prefix}company` (`id`,`name`,`tagline`, `short`, `phone`, `fax`, `street`, `zipcode`, `homepage`, `intranet`, `email`, `comments`, `state`, `category`, `pub_level`)
VALUES (0, 'undefined', '', '', '', '', '', '', '', '', '', '', 1, 0, 4);";
}

If you add this company then you don't have to change the code at db/class_project.inc.php.

What do you think?