Overview
Comment:Fix update of modified datetime when editing a page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: eb351c0ecc74f681dcfd2f516e0d6fff039445656d9536df3b5d4dc72de59ba6
User & Date: bohwaz on 2021-09-15 10:10:26
Other Links: manifest | tags
Context
2021-09-15
10:45
Add links to extensions on homepage check-in: 9a9faa032f user: bohwaz tags: trunk
10:10
Fix update of modified datetime when editing a page check-in: eb351c0ecc user: bohwaz tags: trunk, stable
09:53
Fix quota left when used space is larger than available quota check-in: 6a458d25de user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Entities/Web/Page.php from [9c9ff955e9] to [00abd9dd36].

180
181
182
183
184
185
186

187
188
189
190
191
192
193
				$this->_file = null;
			}

			$file = $this->file();

			// Or update file
			if ($file->fetch() !== $export) {

				$file->store(null, $export);
			}
		}

		$this->syncSearch();
	}








>







180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
				$this->_file = null;
			}

			$file = $this->file();

			// Or update file
			if ($file->fetch() !== $export) {
				$file->set('modified', new \DateTime);
				$file->store(null, $export);
			}
		}

		$this->syncSearch();
	}