Changeset 560 for trunk/plog-includes/plog-functions.php
- Timestamp:
- 07/15/08 17:05:24 (4 months ago)
- Files:
-
- 1 modified
-
trunk/plog-includes/plog-functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-includes/plog-functions.php
r559 r560 792 792 function get_album_by_name($name) { 793 793 $sql = "SELECT * 794 FROM `".TABLE_PREFIX."albums s`794 FROM `".TABLE_PREFIX."albums` 795 795 WHERE `name` = '".mysql_real_escape_string($name)."'"; 796 796 $result = run_query($sql); … … 1260 1260 } 1261 1261 1262 // Ardamis fix from diffuser theme, don't quite understand why it's needed1263 if ( !$plaintext){1264 $rv = str_replace("& id","&id",$rv);1262 // replace & with & if outputting to email 1263 if ($plaintext !== false){ 1264 $rv = str_replace("&","&",$rv); 1265 1265 } 1266 1266 … … 1336 1336 $msg .= plog_tr("Comment") . ":\n$comment\n\n"; 1337 1337 $msg .= plog_tr("You can see all the comments for this picture here") . ":\n"; 1338 $picurl = generate_url("picture", $parent_id);1338 $picurl = generate_url("picture", $parent_id, NULL, true); 1339 1339 $msg .= $picurl; 1340 1340 $headers = "From: $author <$email>\r\n"; … … 1345 1345 $config['admin_email'], 1346 1346 '[' . SmartStripSlashes($config['gallery_name']) . '] ' . plog_tr('New Comment From') . ' ' . $author, 1347 $msg,1347 SmartStripSlashes($msg), 1348 1348 $headers); 1349 1349 }
