Capitalize func changed; remove proj fixed
This commit is contained in:
parent
2580d57372
commit
ac4cf4849a
|
|
@ -111,10 +111,14 @@ Uppercase(String)
|
|||
return String
|
||||
}
|
||||
|
||||
Capitalize(String)
|
||||
Capitalize(W)
|
||||
{
|
||||
StringUpper, String, String, T
|
||||
return String
|
||||
;StringUpper, String, String, T
|
||||
;return String
|
||||
Initial := SubStr(W, 1, 1)
|
||||
StringUpper, Initial, Initial
|
||||
StringTrimLeft, W, W, 1
|
||||
return Initial . W
|
||||
}
|
||||
|
||||
SafeQuote(string) ; Escape single quotes for sql update. Insert doesn't seem to need it because the DB library handles it.
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ else
|
|||
RemoveProjectYes:
|
||||
Gui, RemoveProject:Submit, NoHide
|
||||
db.Query("DELETE FROM projects WHERE id = " SelectedProjectID )
|
||||
db.Query("DELETE FROM skills WHERE projectID = " . SelectedProjectID)
|
||||
GuiChildClose("RemoveProject")
|
||||
RefreshSkillsList(FilterSkillSelected)
|
||||
gosub FilterUpdate
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user