[Fusionforge-commits] r16041 - trunk/src/common/include

Franck VILLAUME nerville at fusionforge.org
Sun Jul 29 13:08:15 CEST 2012


Author: nerville
Date: 2012-07-29 13:08:14 +0200 (Sun, 29 Jul 2012)
New Revision: 16041

Modified:
   trunk/src/common/include/User.class.php
Log:
fix typo #483

Modified: trunk/src/common/include/User.class.php
===================================================================
--- trunk/src/common/include/User.class.php	2012-07-29 10:56:41 UTC (rev 16040)
+++ trunk/src/common/include/User.class.php	2012-07-29 11:08:14 UTC (rev 16041)
@@ -1233,7 +1233,7 @@
 		$explodedKey = explode(' ', $key);
 		$existingKeys = $this->getAuthorizedKeys();
 		foreach ($existingKeys as $existingKey) {
-			if ($existingKey['fingerprint'] = $fingerprint) {
+			if ($existingKey['fingerprint'] == $fingerprint) {
 				$this->setError(_('SSH Key already in use'));
 				return false;
 			}




More information about the Fusionforge-commits mailing list