fixed a bug when deleting all messages
This commit is contained in:
@ -179,8 +179,13 @@ end service
|
||||
Service UpdateNotes(UserID)
|
||||
|
||||
ErrorMsg = ''
|
||||
IF UserID NE '' then
|
||||
NPRec = Database_Services('ReadDataRow', 'NOTE_PTRS', UserID)
|
||||
IF UserID NE '' then
|
||||
If RowExists('NOTE_PTRS', UserID) then
|
||||
NPRec = Database_Services('ReadDataRow', 'NOTE_PTRS', UserID)
|
||||
end else
|
||||
NPRec = ''
|
||||
Database_Services('WriteDataRow', 'NOTE_PTRS', UserID, NPRec, True$, False$, True$)
|
||||
end
|
||||
If Error_Services('NoError') then
|
||||
IF LEN(NPRec) > 60000 THEN
|
||||
* Dump the oldest note pointers
|
||||
|
Reference in New Issue
Block a user