Corrected variable
This commit is contained in:
parent
18a77a1b45
commit
e632be763c
|
@ -1253,7 +1253,7 @@ function api_statuses_update($type)
|
||||||
if (x($_FILES, 'media')) {
|
if (x($_FILES, 'media')) {
|
||||||
// upload the image if we have one
|
// upload the image if we have one
|
||||||
$picture = wall_upload_post($a, false);
|
$picture = wall_upload_post($a, false);
|
||||||
if (is_array($media)) {
|
if (is_array($picture)) {
|
||||||
$_REQUEST['body'] .= "\n\n" . '[url=' . $picture["albumpage"] . '][img]' . $picture["preview"] . "[/img][/url]";
|
$_REQUEST['body'] .= "\n\n" . '[url=' . $picture["albumpage"] . '][img]' . $picture["preview"] . "[/img][/url]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue