about summary refs log tree commit diff stats
path: root/central/trunk
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-06 13:45:30 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-06 13:45:30 +0000
commit57cc740fae032cdfbea21a7074557765ec9c18ff (patch)
tree1cfc5feedafac71c76fd57b741043fa961610610 /central/trunk
parentb183ebe5aa8da9f77cd412bee077f598182b767d (diff)
downloadinstadisc-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')
-rw-r--r--central/trunk/instadisc.php2
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";