mirror of
				https://github.com/Mibew/mibew.git
				synced 2025-11-04 04:15:19 +03:00 
			
		
		
		
	Replace old localization constant with a valid string
This commit is contained in:
		
							parent
							
								
									132ca02cdf
								
							
						
					
					
						commit
						c51a3ee5a1
					
				@ -119,7 +119,7 @@ class LocaleController extends AbstractController
 | 
				
			|||||||
            if (count($available_locales) > 1) {
 | 
					            if (count($available_locales) > 1) {
 | 
				
			||||||
                disable_locale($locale);
 | 
					                disable_locale($locale);
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                $errors[] = getlocal('page_locales.cannot_disable_all');
 | 
					                $errors[] = getlocal('Cannot disable all locales.');
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user