Skip to content

Commit

Permalink
Bugfix: Add missing if.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kestred committed Aug 11, 2014
1 parent fb8d8fc commit 9d49ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/DBOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ bool DBOperationGet::verify_class(const dclass::Class *dclass)
if(m_type == GET_OBJECT) { return true; }

// Otherwise verify the fields and spawn a warning for developers if its not valid
else(!verify_fields(dclass, m_get_fields)) {
else if(!verify_fields(dclass, m_get_fields)) {
m_dbserver->m_log->warning() << "Request invalid field for " << m_doid
<< "(" << dclass->get_name() << ")\n";
}
Expand Down

0 comments on commit 9d49ed2

Please sign in to comment.