Commit 443c4e30c69228283c08f1fd19997d769b0e1ae0
1 parent
0e00c948
Fixed some typos.
Committed By: Kevin Reviewed By: Conrad git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6650 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
2 additions
and
2 deletions
lib/documentmanagement/documentutil.inc.php
| ... | ... | @@ -295,7 +295,7 @@ class KTDocumentUtil { |
| 295 | 295 | |
| 296 | 296 | // {{{ saveMetadata |
| 297 | 297 | function saveMetadata(&$oDocument, $aMetadata, $aOptions = null) { |
| 298 | - $table = document_fields_link; | |
| 298 | + $table = 'document_fields_link'; | |
| 299 | 299 | $bNoValidate = KTUtil::arrayGet($aOptions, 'novalidate', false); |
| 300 | 300 | if ($bNoValidate !== true) { |
| 301 | 301 | $res = KTDocumentUtil::validateMetadata($oDocument, $aMetadata); | ... | ... |
plugins/ktstandard/KTEmail.php
| ... | ... | @@ -138,7 +138,7 @@ function sendEmailDocument($sDestEmailAddress, $sDestUserName, $iDocumentID, $sD |
| 138 | 138 | global $default; |
| 139 | 139 | $oSendingUser = User::get($_SESSION['userID']); |
| 140 | 140 | |
| 141 | - $sMessage .= sprintf(_kt("Your colleague, %s, wishes you to view the attached document entitled '%s'.s"), $oSendingUser->getName(), $sDocumentName); | |
| 141 | + $sMessage .= sprintf(_kt("Your colleague, %s, wishes you to view the attached document entitled '%s'."), $oSendingUser->getName(), $sDocumentName); | |
| 142 | 142 | $sMessage .= "\n\n"; |
| 143 | 143 | if (strlen($sComment) > 0) { |
| 144 | 144 | $sMessage .= '<br><br>' . _kt('Comments:') . '<br>' . $sComment; | ... | ... |