aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
-rw-r--r--include/datetime.php2
-rw-r--r--include/socgraph.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index f348e56a2..7beff3b03 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -770,7 +770,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
'text' => strip_tags(template_escape($body)),
'id' => $item['item_id'],
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
- 'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
+ 'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $owner_name, ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
'to' => t('to'),
'wall' => t('Wall-to-Wall'),
'vwall' => t('via Wall-To-Wall:'),
diff --git a/include/datetime.php b/include/datetime.php
index 9f145e5c7..e8ae01344 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -112,7 +112,7 @@ function datetime_convert($from = 'UTC', $to = 'UTC', $s = 'now', $fmt = "Y-m-d
}
catch(Exception $e) {
logger('datetime_convert: exception: ' . $e->getMessage());
- $d = newDateTime('now', $from_obj);
+ $d = new DateTime('now', $from_obj);
}
try {
diff --git a/include/socgraph.php b/include/socgraph.php
index eccb133cc..4fe9eaf90 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -229,7 +229,7 @@ function count_common_friends_zcid($uid,$zcid) {
}
-function common_friends_zcid($uid,$zcid,$start = 0, $limit = 9999,$shuffle) {
+function common_friends_zcid($uid,$zcid,$start = 0, $limit = 9999,$shuffle = false) {
if($shuffle)
$sql_extra = " order by rand() ";