Commit 02f89fbb authored by Frank Bergmann's avatar Frank Bergmann

- Fixed db_string without default value

parent e16ee9d5
......@@ -2200,7 +2200,7 @@ ad_proc -public im_ganttproject_resource_component {
@param user_name_link_opened List of users with details shown
} {
# Skip if this is a sub-project
set parent_id [db_string parent_id "select parent_id from im_projects where project_id = :project_id"]
set parent_id [db_string parent_id "select parent_id from im_projects where project_id = :project_id" -default ""]
if {"" ne $parent_id} { return "" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment