Merge pull request #103 from EngineGPDev/Undefined-variable-$buy
Undefined variable $buy
This commit is contained in:
commit
20357fb67f
9 changed files with 18 additions and 0 deletions
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
|
@ -69,6 +69,8 @@ if (isset($url['subsection']) and in_array($url['subsection'], $aSub)) {
|
|||
|
||||
$images = plugins::images($plugin['images'], $plugin['id']);
|
||||
|
||||
$buy = null;
|
||||
|
||||
if ($plugin['price']) {
|
||||
$sql->query('SELECT `id` FROM `plugins_buy` WHERE `plugin`="' . $plugin['id'] . '" AND `server`="' . $id . '" LIMIT 1');
|
||||
$buy = $sql->num();
|
||||
|
|
Loading…
Reference in a new issue