[svn r19862] FS#4072 - Fixing a bug that prevents updating dates of group documents after edition. The fix has been proposed in the Dokeos forums by Ludwig Theunis.

skala
Ivan Tcholakov 17 years ago
parent 5a3cd9ef33
commit b892007170
  1. 1
      documentation/changelog.html
  2. 2
      main/inc/lib/main_api.lib.php

@ -182,6 +182,7 @@
<li>A fix for the Oogie converter to work on Windows OS has been applied. Initial code has been proposed in the Dokeos forums by Øyvind Johansen (oyvind) and wilbrod - see FS#3969</li> <li>A fix for the Oogie converter to work on Windows OS has been applied. Initial code has been proposed in the Dokeos forums by Øyvind Johansen (oyvind) and wilbrod - see FS#3969</li>
<li>Fixed Windows-related bugs preventing creation of SCORM packages from presentations, see FS#3972. The problem has been reported in the Dokeos forums by irvienhooi</li> <li>Fixed Windows-related bugs preventing creation of SCORM packages from presentations, see FS#3972. The problem has been reported in the Dokeos forums by irvienhooi</li>
<li>Some minor bugs have been fixed in "Document Metadata" form (FS#4030)</li> <li>Some minor bugs have been fixed in "Document Metadata" form (FS#4030)</li>
<li>Fixed a bug preventing updating dates of group documents after edition. Many thanks to Ludwig Theunis, nickname: TL (FS#4072)</li>
</ul> </ul>
<br /> <br />
<h3>CSS changes</h3> <h3>CSS changes</h3>

@ -1812,7 +1812,7 @@ function api_item_property_update($_course, $tool, $item_id, $lastedit_type, $us
if (!is_null($to_user_id)) { if (!is_null($to_user_id)) {
$to_filter = " AND to_user_id='$to_user_id'"; // set filter to intended user $to_filter = " AND to_user_id='$to_user_id'"; // set filter to intended user
} else { } else {
if (!is_null($to_group_id) and $to_group_id == strval(intval($to_group_id))) { if (($to_group_id != 0) && $to_group_id == strval(intval($to_group_id))) {
$to_filter = " AND to_group_id='$to_group_id'"; // set filter to intended group $to_filter = " AND to_group_id='$to_group_id'"; // set filter to intended group
} }
} }

Loading…
Cancel
Save