mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-14 07:08:01 -05:00
Fix crash with nil passes
This commit is contained in:
parent
cb276a40c4
commit
5442c90e48
@ -126,7 +126,7 @@ module OctopressLiquidFilters
|
||||
|
||||
# Returns a title cased string based on John Gruber's title case http://daringfireball.net/2008/08/title_case_update
|
||||
def titlecase(input)
|
||||
input.titlecase
|
||||
input.titlecase unless input.nil?
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user