028 prevent repeated run
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
output="true"
|
||||
hint="Static helper methods for ReST API">
|
||||
<!--- v0.02 2024-10-15 --->
|
||||
<!--- v0.03 2024-11-27 --->
|
||||
|
||||
|
||||
<cffunction name="empty2null"
|
||||
@@ -270,7 +271,7 @@
|
||||
<cfargument name="title" type="string" required="false" />
|
||||
|
||||
<cfset var detail = listAppend(#ARGUMENTS.ex.message#,#ARGUMENTS.ex.detail#,": " )/>
|
||||
<cfset var title = structKeyExists(ARGUMENTS,"title") ? #ARGUMENTS.title# : #ARGUMENTS.message# />
|
||||
<cfset var title = structKeyExists(ARGUMENTS,"title") ? #ARGUMENTS.title# : #ARGUMENTS.ex.message# />
|
||||
|
||||
<cfreturn formatMessage(detail, title) />
|
||||
</cffunction>
|
||||
|
||||
Reference in New Issue
Block a user