diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-06 13:45:30 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-06 13:45:30 +0000 |
commit | 57cc740fae032cdfbea21a7074557765ec9c18ff (patch) | |
tree | 1cfc5feedafac71c76fd57b741043fa961610610 /central/trunk/instadisc.php | |
parent | b183ebe5aa8da9f77cd412bee077f598182b767d (diff) | |
download | instadisc-57cc740fae032cdfbea21a7074557765ec9c18ff.tar.gz instadisc-57cc740fae032cdfbea21a7074557765ec9c18ff.tar.bz2 instadisc-57cc740fae032cdfbea21a7074557765ec9c18ff.zip |
Central: Fixed deserialization
For some reason, my reference book lists the deserialization function as deserialize(), but the online docs say unserialize()
Diffstat (limited to 'central/trunk/instadisc.php')
-rw-r--r-- | central/trunk/instadisc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/central/trunk/instadisc.php b/central/trunk/instadisc.php index 6735f32..4a9d725 100644 --- a/central/trunk/instadisc.php +++ b/central/trunk/instadisc.php | |||
@@ -71,7 +71,7 @@ function instaDisc_sendItem($username, $id) | |||
71 | $out .= 'Author: ' . $getitem3['author'] . "\r\n"; | 71 | $out .= 'Author: ' . $getitem3['author'] . "\r\n"; |
72 | $out .= 'URL: ' . $getitem3['url'] . "\r\n"; | 72 | $out .= 'URL: ' . $getitem3['url'] . "\r\n"; |
73 | 73 | ||
74 | $semantics = deserialize($getitem3['semantics']); | 74 | $semantics = unserialize($getitem3['semantics']); |
75 | foreach ($semantics as $name => $value) | 75 | foreach ($semantics as $name => $value) |
76 | { | 76 | { |
77 | $out .= $name . ': ' . $value . "\r\n"; | 77 | $out .= $name . ': ' . $value . "\r\n"; |