• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Protect against invalid StringOperations.format call when table internal custom row is used and no row data is available.
Line 258: Line 258:  
if self._custom_rows and self._custom_rows[custom_row_key] then
 
if self._custom_rows and self._custom_rows[custom_row_key] then
 
if type(self._custom_rows[custom_row_key]) == "table" then
 
if type(self._custom_rows[custom_row_key]) == "table" then
table.insert(self._rows, format(self._row_starter_with_attributes, self._custom_rows[custom_row_key].row))
+
table.insert(self._rows, format(self._row_starter_with_attributes, self._custom_rows[custom_row_key].row or {}))
 
table.insert(self._rows, self._custom_rows[custom_row_key].content)
 
table.insert(self._rows, self._custom_rows[custom_row_key].content)
 
else
 
else
Anonymous user

Navigation menu