| @@ -198,10 +198,9 @@ | ||
| 198 | 198 | ]; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | - * Sanitize a value for safe CSV output: neutralize formula injection and strip control chars. | |
| 203 | - * Prefix with single quote when value starts with =, +, -, or @ so spreadsheets treat as text. | |
| 202 | + * Make a value safe for CSV: strip control chars and neutralize formula injection. | |
| 204 | 203 | * |
| 205 | 204 | * @param mixed $value Cell value (string, number, or null). |
| 206 | 205 | * @return string Safe string for fputcsv. |
| 207 | 206 | */ |