summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--find.php2
-rw-r--r--library/WT/Report/Base.php4
-rw-r--r--library/WT/Report/Base_Cell.php2
-rw-r--r--modules_v3/batch_update/admin_batch_update.php3
-rw-r--r--modules_v3/clippings/clippings_ctrl.php2
5 files changed, 5 insertions, 8 deletions
diff --git a/find.php b/find.php
index 3a3b893554..93d3ba60c1 100644
--- a/find.php
+++ b/find.php
@@ -317,7 +317,7 @@ if ($type == "facts") {
<input type="hidden" name="tags" value="', $qs, '">
<input type="hidden" name="callback" value="', $callback, '">
<table class="list_table width100" border="0">
- <tr><td class="list_label" style="padding: 5px; font-weight: normal; white-space: normal;">' ;
+ <tr><td class="list_label" style="padding: 5px; font-weight: normal; white-space: normal;">';
$all = strlen($qs) ? explode(',', strtoupper($qs)) : array();
$preselDefault = array();
diff --git a/library/WT/Report/Base.php b/library/WT/Report/Base.php
index 0404ffc998..1be1ca3053 100644
--- a/library/WT/Report/Base.php
+++ b/library/WT/Report/Base.php
@@ -1429,7 +1429,7 @@ function repeatTagStartHandler($attrs) {
$count = preg_match_all("/$level $t(.*)/", $subrec, $match, PREG_SET_ORDER);
$i = 0;
while ($i < $count) {
- $repeats[] = get_sub_record($level, "$level $t", $subrec, $i + 1); ;
+ $repeats[] = get_sub_record($level, "$level $t", $subrec, $i + 1);
$i++;
}
}
@@ -1831,7 +1831,7 @@ function ifStartHandler($attrs) {
$level++;
$value = get_gedcom_value($id, $level, $gedrec);
}
- $value = preg_replace("/^@(" . WT_REGEX_XREF . ")@$/", "$1", $value);
+ $value = preg_replace("/^@(" . WT_REGEX_XREF . ")@$/", "$1", $value);
$value = "\"" . addslashes($value) . "\"";
}
$condition = str_replace("@$id", $value, $condition);
diff --git a/library/WT/Report/Base_Cell.php b/library/WT/Report/Base_Cell.php
index 8bc762db1a..ea3e410f5a 100644
--- a/library/WT/Report/Base_Cell.php
+++ b/library/WT/Report/Base_Cell.php
@@ -132,8 +132,6 @@ class WT_Report_Base_Cell extends WT_Report_Base_Element {
* @param string $bocolor Border color
* @param string $tcolor Text color
* @param $reseth
- *
- * @return \WT_Report_Base_Cell
*/
function __construct(
$width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth
diff --git a/modules_v3/batch_update/admin_batch_update.php b/modules_v3/batch_update/admin_batch_update.php
index c757473e7d..18fb89e747 100644
--- a/modules_v3/batch_update/admin_batch_update.php
+++ b/modules_v3/batch_update/admin_batch_update.php
@@ -299,8 +299,7 @@ class batch_update {
' bu_form.action.value="";' .
' bu_form.data.value="";' .
' bu_form.submit();' .
- '}</script>'
- ;
+ '}</script>';
}
/**
diff --git a/modules_v3/clippings/clippings_ctrl.php b/modules_v3/clippings/clippings_ctrl.php
index 3c0316314e..d4cc051664 100644
--- a/modules_v3/clippings/clippings_ctrl.php
+++ b/modules_v3/clippings/clippings_ctrl.php
@@ -241,7 +241,7 @@ class WT_Controller_Clippings {
if (file_exists(WT_DATA_DIR . $MEDIA_DIRECTORY . $match[$k][1])) {
$media[$mediacount] = array(
PCLZIP_ATT_FILE_NAME => WT_DATA_DIR . $MEDIA_DIRECTORY . $match[$k][1],
- PCLZIP_ATT_FILE_NEW_FULL_NAME => $match[$k][1],
+ PCLZIP_ATT_FILE_NEW_FULL_NAME => $match[$k][1],
);
$mediacount++;
}