|
@@ -61,7 +61,12 @@ class Article
|
|
$appid = $temp[1];
|
|
$appid = $temp[1];
|
|
$path = $temp[2];
|
|
$path = $temp[2];
|
|
|
|
|
|
- $appinfo = Dever::db('content/applet')->one(array('appid' => $appid));
|
|
|
|
|
|
+ if ($appid) {
|
|
|
|
+ $appinfo = Dever::db('content/applet')->one(array('appid' => $appid));
|
|
|
|
+ } else {
|
|
|
|
+ $appinfo['name'] = '';
|
|
|
|
+ }
|
|
|
|
+
|
|
if (isset($temp[3]) && $temp[3]) {
|
|
if (isset($temp[3]) && $temp[3]) {
|
|
$appinfo['link'] = $temp[3];
|
|
$appinfo['link'] = $temp[3];
|
|
}
|
|
}
|