From e7f507db0a8f6cb6f92ad0430ccc7a8796f448fb Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 2 Oct 2013 01:00:20 +0200 Subject: !!!READ FULL COMMIT MESSAGE!!! This commit fixes a bug in the PluginPackage class. Before this fix, metadata was not extracted correctly. Since r7r-repo does not generate these dynamically for every request, you need to fix them manually: This PHP script will fix them for you: https://gist.github.com/kch42/6786529 --- r7r_repo/pluginpackage.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/r7r_repo/pluginpackage.php b/r7r_repo/pluginpackage.php index cf667cc..863df71 100644 --- a/r7r_repo/pluginpackage.php +++ b/r7r_repo/pluginpackage.php @@ -236,15 +236,15 @@ class PluginPackage { $meta = new PluginPackageMeta(); - $meta->name = $this>name; - $meta->author = $this>author; - $meta->versiontext = $this>versiontext; - $meta->versioncount = $this>versioncount; - $meta->api = $this>api; - $meta->short_description = $this>short_description; - $meta->updatepath = $this>updatepath; - $meta->web = $this>web; - $meta->license = $this>license; + $meta->name = $this->name; + $meta->author = $this->author; + $meta->versiontext = $this->versiontext; + $meta->versioncount = $this->versioncount; + $meta->api = $this->api; + $meta->short_description = $this->short_description; + $meta->updatepath = $this->updatepath; + $meta->web = $this->web; + $meta->license = $this->license; return $meta; } -- cgit v1.2.3-54-g00ecf