Corrected notes update problem.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2655 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-10-09 08:28:50 +00:00
parent bef8c7bc16
commit 779737fcde
1 changed files with 2 additions and 2 deletions

View File

@ -390,8 +390,8 @@ void Event::updateNotes( const StringSetMap &newNoteSetMap )
if ( noteSetIter == noteSet.end() )
{
noteSet.insert( newNote );
update = true;
}
update = true;
}
}
}
@ -404,7 +404,7 @@ void Event::updateNotes( const StringSetMap &newNoteSetMap )
std::string notes;
createNotes( notes );
Info( "Updating notes for event %d, '%s'", id, notes.c_str() );
Debug( 2, "Updating notes for event %d, '%s'", id, notes.c_str() );
static char sql[BUFSIZ];
#if USE_PREPARED_SQL
static MYSQL_STMT *stmt = 0;