@@ -144,8 +144,8 @@ discard block |
||
144 | 144 | // Get the actual column name from config or use default |
145 | 145 | // Support both old format (created_by_column) and new format (columns.created_by.name) |
146 | 146 | $columnName = $config['name'] ?? |
147 | - config("userstamps.{$columnType}_column") ?? |
|
148 | - config("userstamps.columns.{$columnType}.name", $columnType); |
|
147 | + config("userstamps.{$columnType}_column") ?? |
|
148 | + config("userstamps.columns.{$columnType}.name", $columnType); |
|
149 | 149 | |
150 | 150 | // For backward compatibility, also check the legacy column names |
151 | 151 | if ($columnType === 'created_by') { |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | foreach ($columns as $columnType) { |
252 | 252 | // Support both old format (created_by_column) and new format (columns.created_by.name) |
253 | 253 | $columnName = config("userstamps.{$columnType}_column") ?? |
254 | - config("userstamps.columns.{$columnType}.name", $columnType); |
|
254 | + config("userstamps.columns.{$columnType}.name", $columnType); |
|
255 | 255 | |
256 | 256 | // For backward compatibility, also check the legacy column names |
257 | 257 | if ($columnType === 'created_by') { |