Fixed error message related to check for short description length
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 26 May 2016 16:27:33 +0000 (12:27 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 26 May 2016 16:27:33 +0000 (12:27 -0400)
classes/data/dataMemberInfo.php

index 46bc0ff..41cf371 100644 (file)
@@ -400,8 +400,8 @@ class GlmDataMemberInfo extends GlmDataAbstract
         ;";
         $r['categories'] = $this->wpdb->get_results($sql, ARRAY_A);
 
-        if ((strlen($r['short_descr']) == 0) && ($r['description'] > 0)) {
-            $r['short_descr'] = $r['description'];
+        if ((strlen($r['short_descr']) == 0) && ($r['descr'] > 0)) {
+            $r['short_descr'] = $r['descr'];
         }
         $dotdotdot = '';
         if (strlen($r['short_descr']) > 120 ) {