]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-themes.php
Fix for 'Problem with number found. ret=0, num='
[mailer.git] / inc / modules / member / action-themes.php
index ba9ab29a93984b4940d0262cf9440fc3fdcbfd2d..4d611a4b8026aec501e73dab2eb2457585591806 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 11/12/2004 *
- * ================                             Last change: 11/12/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 11/12/2004 *
+ * ===================                          Last change: 11/12/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : action-themes.php                                *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -63,7 +64,7 @@ if (isAdmin()) {
 if ($num_themes > 1) {
        // If more than 1 is installed output selection box
        $OUT = generateThemeSelectionBox();
-} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == 0))) {
+} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == '0'))) {
        // If there's only one just output it's name
        $OUT = loadTemplate('theme_one', true, getCurrentThemeName());
 } elseif (isAdmin()) {