Merge pull request #6833 from MrPetovan/bug/notices
Fix various notices
This commit is contained in:
commit
af77af0446
6 changed files with 10 additions and 6 deletions
|
@ -25,7 +25,7 @@ class Register
|
|||
public static function getPending()
|
||||
{
|
||||
$stmt = DBA::p(
|
||||
"SELECT `register`.*, `contact`.`name`, `user`.`email`
|
||||
"SELECT `register`.*, `contact`.`name`, `contact`.`url`, `contact`.`micro`, `user`.`email`
|
||||
FROM `register`
|
||||
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
|
||||
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`"
|
||||
|
|
|
@ -447,7 +447,7 @@ class Image
|
|||
return;
|
||||
}
|
||||
|
||||
$ort = $exif['IFD0']['Orientation'];
|
||||
$ort = isset($exif['IFD0']['Orientation']) ? $exif['IFD0']['Orientation'] : 1;
|
||||
|
||||
switch ($ort) {
|
||||
case 1: // nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue