diff --git a/modules/premium_content/premium.module b/modules/premium_content/premium.module
index 30e8679..12e3148 100644
--- a/modules/premium_content/premium.module
+++ b/modules/premium_content/premium.module
@@ -17,7 +17,7 @@ function premium_permission() {
   );
 
   foreach (premium_level_option_list() as $level_name) {
-    $perms[_premium_permission_name($level_name)] = array (
+    $perms[_premium_permission_name($level_name)] = array(
       'title' => _premium_permission_name($level_name),
     );
   }
@@ -59,7 +59,7 @@ function premium_node_view($node, $view_mode, $langcode) {
   }
 
   if (!$node->premium_access) {
-    $node->content['body'][0]['#markup'] = theme('premium_body', array ('node' => $node));
+    $node->content['body'][0]['#markup'] = theme('premium_body', array('node' => $node));
   }
 }
 
@@ -288,10 +288,16 @@ function _premium_offset($timestamp, &$start_ts, &$end_ts, $mode, $count, $unit)
   );
 
   // If we faked a timestamp, remove it.
-  if ($ts != $timestamp) { $offset -= $ts; }
+  if ($ts != $timestamp) {
+    $offset -= $ts;
+  }
 
-  if ($mode == 'archive') { $start_ts = $offset; }
-  if ($mode == 'latest') { $end_ts = $offset; }
+  if ($mode == 'archive') {
+    $start_ts = $offset;
+  }
+  if ($mode == 'latest') {
+    $end_ts = $offset;
+  }
 }
 
 /**
@@ -381,7 +387,7 @@ function premium_user_content_access($node, $account = NULL) {
 
   // Access is granted or revoked explicitly.
   foreach (module_implements('premium_access') as $name) {
-    $function = $name .'_premium_access';
+    $function = $name . '_premium_access';
     if (is_bool($access = $function($node, $teaser))) {
       return $access;
     }
@@ -399,11 +405,12 @@ function premium_user_content_access($node, $account = NULL) {
     // nodes are still using them.
     // So it might be that we cannot find the level, in which case we deny
     // access and give a suitable message.
-    if ($level)
+    if ($level) {
       return user_access(_premium_permission_name($level->name));
+    }
     else {
-      drupal_set_message (t ('Node !nid uses level !level which does no longer exist.', array ('!nid' => $node->nid, '!level' => $node->premium)), 'warning');
-      watchdog ('premium', 'Node !nid uses level !level which does no longer exist.', array ('!nid' => $node->nid, '!level' => $node->premium), WATCHDOG_ERROR);
+      drupal_set_message(t('Node @nid uses level @level which does no longer exist.', array('@nid' => $node->nid, '@level' => $node->premium)), 'warning');
+      watchdog('premium', 'Node @nid uses level @level which does no longer exist.', array('@nid' => $node->nid, '@level' => $node->premium), WATCHDOG_ERROR);
     }
   }
 
