diff --git a/apps/files_encryption/lib/session.php b/apps/files_encryption/lib/session.php
index d3353c738187770a1352ce12158e3edba43c085f..30cb7b0e1b310b0088b01021ae7e609b14a10a3e 100644
--- a/apps/files_encryption/lib/session.php
+++ b/apps/files_encryption/lib/session.php
@@ -106,7 +106,7 @@ class Session
 	 */
 	public function setPrivateKey( $privateKey ) {
 
-		\OC::$session->set('privateKey', $privateKey)
+		\OC::$session->set('privateKey', $privateKey);
 
 		return true;