Minor code improvements:
[shipsimu.git] / application / ship-simu / templates / de / code / action_login_company.ctp
index 2747805349d10adc7857a36fdfb69c8dae972538..7eacc4b6d415421cacebb9d70147b5592ca08b5a 100644 (file)
@@ -8,9 +8,9 @@ $linkInstance->prefetchValueInstance('user');
 // Maximum of allowed companies reached?
 if ($linkInstance->getValueInstance()->ifUserCreatedMaximumAllowedCompanies()) {
        // No more companies allowed to create
-} elseif ($linkInstance->getValueInstance()->ifUserPointsEnougth('found_new_company')) {
+} elseif ($linkInstance->getValueInstance()->ifUserPointsEnough('found_new_company')) {
        // Enough money to found company
-} elseif ($linkInstance->getValueInstance()->ifUserPointsEnougth('write_applications')) {
+} elseif ($linkInstance->getValueInstance()->ifUserPointsEnough('write_applications')) {
        // Enough money to write applications to other companies
 } elseif ($linkInstance->getValueInstance()->ifGovermentPaysStartupHelp()) {
        // Display link to goverment for startup help