Fix for Code

  1. <?php
  2. if (arg(0) == 'user' && is_numeric(arg(1))) {
  3. $account = user_load(arg(1));
  4.  global $user;
  5.   if ($user->uid == $account->uid) {
  6.   $businessnode = node_load(array('type' => 'firmenprofil', 'uid' => $user->uid));
  7.   print 'Sie haben noch kein Business-Profil erstellt.';
  8. }
  9. }
  10. ?>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.