| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | // Always auto-generate slug from name (backend ensures uniqueness) |
| 73 | 73 | if (!empty($data['name'])) { |
| 74 | 74 | $data['slug'] = SlugHelper::generateUniqueFromDatabase( |
| 75 | 75 | $data['name'], |
| 76 | - 'yatra_new_classifications', | |
| 76 | + 'yatra_classifications', | |
| 77 | 77 | 'slug' |
| 78 | 78 | ); |
| 79 | 79 | } elseif (isset($data['slug'])) { |
| 80 | 80 | // If name is empty but slug is provided, sanitize it |