| ... | ... |
@@ -34,12 +34,11 @@ if(!defined("_CHARSET")) exit( );
|
| 34 | 34 |
$stories['coauthors_array'] = $array_coauthors; |
| 35 | 35 |
unset($array_coauthors); |
| 36 | 36 |
} |
| 37 |
- else $stories['coauthors_array'] = array( ); |
|
| 38 |
- |
|
| 37 |
+ else $stories['coauthors_array'] = array( ); |
|
| 39 | 38 |
$tpl->assign("title" , stripslashes(title_link($stories)) );
|
| 40 | 39 |
$tpl->assign("author" , author_link($stories));
|
| 41 | 40 |
$tpl->assign("summary", stripslashes($stories['summary']) );
|
| 42 |
- $tpl->assign("rating" , !empty($ratingslist) && !empty($stories['rid'] && key_exists('name', $ratingslist) ) ? $ratingslist[$stories['rid']]['name'] : "");
|
|
| 41 |
+ $tpl->assign("rating" , !empty($ratingslist) && !empty($stories['rid'] && key_exists('name', $ratingslist[$stories['rid']]) ) ? $ratingslist[$stories['rid']]['name'] : "");
|
|
| 43 | 42 |
$tpl->assign("score", ratingpics($stories['rating']) );
|
| 44 | 43 |
$tpl->assign("count", $stories['count'] ? $stories['count'] : "0");
|
| 45 | 44 |
$allclasslist = ""; |
| ... | ... |
@@ -132,7 +132,7 @@ define ("_INSTALLMODULE", "Install this module");
|
| 132 | 132 |
define ("_LANGUAGE", "Language");
|
| 133 | 133 |
define ("_LEVEL", "Level");
|
| 134 | 134 |
define ("_LIKESYS", "Like/Dislike"); // Changed to avoid conflict with user _LIKE declaration
|
| 135 |
-define ("_LIKES_NUMBER", "Number of Likes");
|
|
| 135 |
+if (!defined("_LIKES_NUMBER")) define("_LIKES_NUMBER", "Number of Likes");
|
|
| 136 | 136 |
define ("_LINKACCESS", "Link Access Level");
|
| 137 | 137 |
define ("_LINKKEY", "Link Access Key");
|
| 138 | 138 |
define ("_LINKRANGE", "Size of Range for Page Links");
|